共用方式為


AITelemetryConsumer 建構函式

定義

多載

AITelemetryConsumer()
AITelemetryConsumer(IOptions<ApplicationInsightsTelemetryConsumerOptions>)

建構函式。

AITelemetryConsumer(String)
AITelemetryConsumer(IOptions<ApplicationInsightsTelemetryConsumerOptions>, IServiceProvider)

建構函式。

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

參數

options
IOptions<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)

來源:
AITelemetryConsumer.cs

建構函式。

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

適用於