TelemetryClient.InstrumentationKey Eigenschaft

Definition

Achtung

InstrumentationKey based global ingestion is being deprecated. Recommended to set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.

Ruft den Standardinstrumentierungsschlüssel für alle ITelemetry Objekte ab, die in diesem protokolliert sind, oder legt diesen TelemetryClientfest.

public string InstrumentationKey { get; [System.Obsolete("InstrumentationKey based global ingestion is being deprecated. Recommended to set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.")] set; }
[<set: System.Obsolete("InstrumentationKey based global ingestion is being deprecated. Recommended to set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.")>]
member this.InstrumentationKey : string with get, set
Public Property InstrumentationKey As String

Eigenschaftswert

Attribute

Gilt für: