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)

Source:
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

适用于