TelemetryConfiguration Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
TelemetryConfiguration(String) |
Veraltet.
Initialisiert eine neue instance der TelemetryConfiguration-Klasse. |
TelemetryConfiguration(String, ITelemetryChannel) |
Veraltet.
Initialisiert eine neue instance der TelemetryConfiguration-Klasse. |
TelemetryConfiguration(String)
Achtung
InstrumentationKey based global ingestion is being deprecated. Use the default constructor and manually set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.
Initialisiert eine neue instance der TelemetryConfiguration-Klasse.
[System.Obsolete("InstrumentationKey based global ingestion is being deprecated. Use the default constructor and manually set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.")]
public TelemetryConfiguration (string instrumentationKey);
[<System.Obsolete("InstrumentationKey based global ingestion is being deprecated. Use the default constructor and manually set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.")>]
new Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration : string -> Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
Public Sub New (instrumentationKey As String)
Parameter
- instrumentationKey
- String
Der Instrumentierungsschlüssel, den diese Konfiguration instance.
- Attribute
Gilt für:
TelemetryConfiguration(String, ITelemetryChannel)
Achtung
InstrumentationKey based global ingestion is being deprecated. Use the default constructor and manually set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.
Initialisiert eine neue instance der TelemetryConfiguration-Klasse.
[System.Obsolete("InstrumentationKey based global ingestion is being deprecated. Use the default constructor and manually set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.")]
public TelemetryConfiguration (string instrumentationKey, Microsoft.ApplicationInsights.Channel.ITelemetryChannel channel);
[<System.Obsolete("InstrumentationKey based global ingestion is being deprecated. Use the default constructor and manually set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.")>]
new Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration : string * Microsoft.ApplicationInsights.Channel.ITelemetryChannel -> Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
Public Sub New (instrumentationKey As String, channel As ITelemetryChannel)
Parameter
- instrumentationKey
- String
Der Instrumentierungsschlüssel, den diese Konfiguration instance.
- channel
- ITelemetryChannel
Der Telemetriekanal, der mit dieser Konfiguration bereitgestellt werden soll, instance.
- Attribute
Gilt für:
Azure SDK for .NET