Microsoft.IdentityModel.Abstractions.ITelemetryClient
Interface for Telemetry tracking.
namespace Microsoft.IdentityModel.Abstractions
{
public interface ITelemetryClient
{
string ClientId { get; set; }
void Initialize();
bool IsEnabled();
bool IsEnabled(string eventName);
void TrackEvent(TelemetryEventDetails eventDetails);
void TrackEvent(string eventName, IDictionary<string, string> stringProperties = null, IDictionary<string, long> longProperties = null, IDictionary<string, bool> boolProperties = null, IDictionary<string, DateTime> dateTimeProperties = null, IDictionary<string, double> doubleProperties = null, IDictionary<string, Guid> guidProperties = null);
}
}