Partager via


TelemetryConfiguration Constructeurs

Définition

Surcharges

TelemetryConfiguration(String)
Obsolète.

Initialise une nouvelle instance de la classe TelemetryConfiguration.

TelemetryConfiguration(String, ITelemetryChannel)
Obsolète.

Initialise une nouvelle instance de la classe TelemetryConfiguration.

TelemetryConfiguration(String)

Attention

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.

Initialise une nouvelle instance de la classe TelemetryConfiguration.

[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)

Paramètres

instrumentationKey
String

Clé d’instrumentation que cette configuration instance fournira.

Attributs

S’applique à

TelemetryConfiguration(String, ITelemetryChannel)

Attention

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.

Initialise une nouvelle instance de la classe TelemetryConfiguration.

[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)

Paramètres

instrumentationKey
String

Clé d’instrumentation que cette configuration instance fournira.

channel
ITelemetryChannel

Canal de télémétrie à fournir avec cette configuration instance.

Attributs

S’applique à