TelemetryConfiguration Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
TelemetryConfiguration(String) |
Obsoleto.
Inicializa uma nova instância da classe TelemetryConfiguration. |
TelemetryConfiguration(String, ITelemetryChannel) |
Obsoleto.
Inicializa uma nova instância da classe TelemetryConfiguration. |
TelemetryConfiguration(String)
Cuidado
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.
Inicializa uma nova instância da 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)
Parâmetros
- instrumentationKey
- String
A chave de instrumentação que essa instância de configuração fornecerá.
- Atributos
Aplica-se a
TelemetryConfiguration(String, ITelemetryChannel)
Cuidado
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.
Inicializa uma nova instância da 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)
Parâmetros
- instrumentationKey
- String
A chave de instrumentação que essa instância de configuração fornecerá.
- channel
- ITelemetryChannel
O canal de telemetria a ser fornecido com essa instância de configuração.
- Atributos
Aplica-se a
Azure SDK for .NET