Share via


DialogManager Class

Definition

Caution

This class will be deprecated in the next version of the Bot Framework SDK.

Class which runs the dialog system.

[System.Obsolete("This class will be deprecated in the next version of the Bot Framework SDK.")]
public class DialogManager
[<System.Obsolete("This class will be deprecated in the next version of the Bot Framework SDK.")>]
type DialogManager = class
Public Class DialogManager
Inheritance
DialogManager
Attributes

Constructors

DialogManager(Dialog, String)

Initializes a new instance of the DialogManager class.

Properties

ConversationState

Gets or sets the ConversationState.

Dialogs

Gets or sets global dialogs that you want to have be callable.

ExpireAfter

Gets or sets (optional) number of milliseconds to expire the bot's state after.

InitialTurnState

Gets InitialTurnState collection to copy into the TurnState on every turn.

RootDialog

Gets or sets root dialog to use to start conversation.

StateConfiguration

Gets or sets the DialogStateManagerConfiguration.

UserState

Gets or sets the UserState.

Methods

OnTurnAsync(ITurnContext, CancellationToken)

Runs dialog system in the context of an ITurnContext.

Extension Methods

UseLanguageGeneration(DialogManager, LanguageGenerator)

Register ILanguageGenerator as default langugage generator.

UseLanguageGeneration(DialogManager, String)

Register default LG file as language generation.

UseLanguagePolicy(DialogManager, LanguagePolicy)

Register language policy as default policy.

UseResourceExplorer(DialogManager, ResourceExplorer)

Register ResourceExplorer and optionally register more types.

UseTelemetry(DialogManager, IBotTelemetryClient)

Register IBotTelemetryClient as default langugage generator.

Applies to