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