TelemetryExtensions.UseTelemetry(DialogManager, IBotTelemetryClient) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Register IBotTelemetryClient as default langugage generator.
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
Parameters
- dialogManager
- DialogManager
botAdapter to add services to.
- telemetryClient
- IBotTelemetryClient
IBotTelemetryClient to use.
Returns
botAdapter.