共用方式為


ServiceCollectionExtensions 類別

定義

服務集合擴充方法,可在啟動時設定 Application Insights 時使用。

public static class ServiceCollectionExtensions
type ServiceCollectionExtensions = class
Public Module ServiceCollectionExtensions
繼承
ServiceCollectionExtensions

方法

AddBotApplicationInsights(IServiceCollection, BotConfiguration, String)
已淘汰.

將 Application Insights 的服務新增和設定至 IServiceCollection

AddBotApplicationInsights(IServiceCollection, IBotTelemetryClient, String)

將 Application Insights 的服務新增和設定至 IServiceCollection

AddBotApplicationInsights(IServiceCollection, IConfiguration)

將 Application Insights 的服務新增和設定至 IServiceCollection

AddBotApplicationInsights(IServiceCollection)

將 Application Insights 的服務新增和設定至 IServiceCollection

適用於