共用方式為


NullTelemetryClient Class

Definition

The default implementation of the ITelemetryClient interface which swallows all telemetry signals.

public class NullTelemetryClient : Microsoft.IdentityModel.Abstractions.ITelemetryClient
type NullTelemetryClient = class
    interface ITelemetryClient
Public Class NullTelemetryClient
Implements ITelemetryClient
Inheritance
NullTelemetryClient
Implements

Properties

ClientId

Gets or sets the application or client ID that telemetry is being sent for.

Instance

Singleton instance of NullTelemetryClient.

Methods

Initialize()

Perform any necessary bootstrapping for the telemetry client.

IsEnabled()

Checks to see if telemetry is enabled all up.

IsEnabled(String)

Checks to see if telemetry is enabled for the named event.

TrackEvent(String, IDictionary<String,String>, IDictionary<String, Int64>, IDictionary<String,Boolean>, IDictionary<String,DateTime>, IDictionary<String,Double>, IDictionary<String,Guid>)

Tracks an instance of a named event.

TrackEvent(TelemetryEventDetails)

Tracks an instance of a named event.

Applies to