TelemetryClient TelemetryClient TelemetryClient Constructors

Definition

Overloads

TelemetryClient() TelemetryClient()

Initializes a new instance of the TelemetryClient class. Send telemetry with the active configuration, usually loaded from ApplicationInsights.config.

TelemetryClient(TelemetryConfiguration) TelemetryClient(TelemetryConfiguration) TelemetryClient(TelemetryConfiguration)

Initializes a new instance of the TelemetryClient class. Send telemetry with the specified configuration.

TelemetryClient() TelemetryClient()

Initializes a new instance of the TelemetryClient class. Send telemetry with the active configuration, usually loaded from ApplicationInsights.config.

public TelemetryClient ();
Public Sub New ()

TelemetryClient(TelemetryConfiguration) TelemetryClient(TelemetryConfiguration) TelemetryClient(TelemetryConfiguration)

Initializes a new instance of the TelemetryClient class. Send telemetry with the specified configuration.

public TelemetryClient (Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration);
new Microsoft.ApplicationInsights.TelemetryClient : Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration -> Microsoft.ApplicationInsights.TelemetryClient
Public Sub New (configuration As TelemetryConfiguration)

Parameters

Exceptions

The configuration does not contain a telemetry channel.

Applies to