<PackageReference Include="Microsoft.IdentityModel.Abstractions" Version="8.11.0" />

Microsoft.IdentityModel.Abstractions.TelemetryEventDetails

public abstract class TelemetryEventDetails
Details of the telemetry event.
public virtual string Name { get; set; }

Name of the telemetry event, should be unique between events.

public virtual IReadOnlyDictionary<string, object> Properties { get; }

Properties which describe the event.

public virtual void SetProperty(string key, string value)

Sets a property on the event details.

public virtual void SetProperty(string key, long value)

Sets a property on the event details.

public virtual void SetProperty(string key, bool value)

Sets a property on the event details.

public virtual void SetProperty(string key, DateTime value)

Sets a property on the event details.

public virtual void SetProperty(string key, double value)

Sets a property on the event details.

public virtual void SetProperty(string key, Guid value)

Sets a property on the event details.