AITelemetryConsumer 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AITelemetryConsumer()
public AITelemetryConsumer ();
Public Sub New ()
適用於
AITelemetryConsumer(IOptions<ApplicationInsightsTelemetryConsumerOptions>)
建構函式。
public AITelemetryConsumer (Microsoft.Extensions.Options.IOptions<Orleans.Configuration.ApplicationInsightsTelemetryConsumerOptions> options);
new Orleans.TelemetryConsumers.AI.AITelemetryConsumer : Microsoft.Extensions.Options.IOptions<Orleans.Configuration.ApplicationInsightsTelemetryConsumerOptions> -> Orleans.TelemetryConsumers.AI.AITelemetryConsumer
Public Sub New (options As IOptions(Of ApplicationInsightsTelemetryConsumerOptions))
參數
ApplicationInsights 的檢測金鑰。
適用於
AITelemetryConsumer(String)
public AITelemetryConsumer (string instrumentationKey);
new Orleans.TelemetryConsumers.AI.AITelemetryConsumer : string -> Orleans.TelemetryConsumers.AI.AITelemetryConsumer
Public Sub New (instrumentationKey As String)
參數
- instrumentationKey
- String
適用於
AITelemetryConsumer(IOptions<ApplicationInsightsTelemetryConsumerOptions>, IServiceProvider)
建構函式。
public AITelemetryConsumer (Microsoft.Extensions.Options.IOptions<Orleans.Configuration.ApplicationInsightsTelemetryConsumerOptions> options, IServiceProvider serviceProvider);
new Orleans.TelemetryConsumers.AI.AITelemetryConsumer : Microsoft.Extensions.Options.IOptions<Orleans.Configuration.ApplicationInsightsTelemetryConsumerOptions> * IServiceProvider -> Orleans.TelemetryConsumers.AI.AITelemetryConsumer
Public Sub New (options As IOptions(Of ApplicationInsightsTelemetryConsumerOptions), serviceProvider As IServiceProvider)
參數
- serviceProvider
- IServiceProvider