共用方式為


TelemetryExtensions.UseTelemetry(DialogManager, IBotTelemetryClient) 方法

定義

將 IBotTelemetryClient 註冊為預設的 langugage 產生器。

public static Microsoft.Bot.Builder.Dialogs.DialogManager UseTelemetry (this Microsoft.Bot.Builder.Dialogs.DialogManager dialogManager, Microsoft.Bot.Builder.IBotTelemetryClient telemetryClient);
static member UseTelemetry : Microsoft.Bot.Builder.Dialogs.DialogManager * Microsoft.Bot.Builder.IBotTelemetryClient -> Microsoft.Bot.Builder.Dialogs.DialogManager
<Extension()>
Public Function UseTelemetry (dialogManager As DialogManager, telemetryClient As IBotTelemetryClient) As DialogManager

參數

dialogManager
DialogManager

botAdapter 將服務新增至 。

telemetryClient
IBotTelemetryClient

要使用的 IBotTelemetryClient。

傳回

botAdapter。

適用於