Share via


TelemetrySink Constructors

Definition

Overloads

TelemetrySink()

Initializes a new instance of the TelemetrySink class.

TelemetrySink(TelemetryConfiguration, ITelemetryChannel)

Initializes a new instance of the TelemetrySink class.

TelemetrySink()

Initializes a new instance of the TelemetrySink class.

public TelemetrySink ();
Public Sub New ()

Applies to

TelemetrySink(TelemetryConfiguration, ITelemetryChannel)

Initializes a new instance of the TelemetrySink class.

public TelemetrySink (Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration telemetryConfiguration, Microsoft.ApplicationInsights.Channel.ITelemetryChannel telemetryChannel = default);
new Microsoft.ApplicationInsights.Extensibility.TelemetrySink : Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration * Microsoft.ApplicationInsights.Channel.ITelemetryChannel -> Microsoft.ApplicationInsights.Extensibility.TelemetrySink
Public Sub New (telemetryConfiguration As TelemetryConfiguration, Optional telemetryChannel As ITelemetryChannel = Nothing)

Parameters

telemetryConfiguration
TelemetryConfiguration

Telemetry configuration to use for the new TelemetrySink instance.

telemetryChannel
ITelemetryChannel

Telemetry channel to use for the new TelemetrySink instance.

Applies to