Microsoft.Bot.Builder.Dialogs Namespace

Classes

Address

The key that minimally and completely identifies a bot's conversation with a user on a channel.

AttachmentPrompt
Awaitable
AwaitableFromItem<T>

Creates a IAwaitable<T> from item passed to constructor.

Case<T,R>

The default implementation of ICase<T,R>.

Chain

A fluent, chainable interface for IDialogs.

Chain.WhereCanceledException

The exception that is thrown when the where is canceled.

ChannelCapability
ChannelCapabilityEx
ChannelIds
ChoicePrompt
ChoicePromptOptions
ChronoDuration
ChronoDurationResolution
CommandDialog<T>.Command

A single command.

CommandDialog<T>

Dialog that dispatches based on a regex matching input.

ConfirmPrompt
Conversation

The top level composition root for the SDK.

ConversationAddressComparer

Compare two Address instances for equality, excluding the user information.

DateTimePrompt
DefaultCase<T,R>

The default case for switch. ICase<T,R>

DeleteProfileScorable
Dialog

Base class for controls

DialogCompletion

Result returned to the caller of one of the various stack manipulation methods and used to return the result from a final call to DialogContext.end() to the bots logic.

DialogContainer
DialogContext
DialogInstance

Tracking information for a dialog on the stack.

DialogSet

A related set of dialogs that can all call each other.

DialogStackException

The root of the exception hierarchy related to IDialogStack .

DispatchDialog

A dialog specialized to dispatch an IScorable.

DispatchDialog<TResult>

A dialog specialized to dispatch an IScorable.

EndConversationEvent

This event represents the end of the conversation. It is initiated by EndConversation(IDialogContext, String) and propagates as an event in the stack scorable process to allow interception.

Extensions

Helper methods.

InvalidIntentHandlerException

An exception for invalid intent handlers.

LuisActionDialog

The dialog wrapping Luis dialog feature.

LuisDialog<TResult>

A dialog specialized to handle intents and entities from LUIS.

LuisIntentAttribute

Associate a LUIS intent with a dialog method.

LuisServiceResult

Matches a LuisResult object with the best scored IntentRecommendation of the LuisResult and corresponding Luis service.

MessageOptions

Optional message properties that can be sent SayAsync(IBotToUser, String, String, MessageOptions, String, CancellationToken)

MultipleResumeHandlerException

The exception representing multiple resume handlers specified for the dialog stack.

NoResumeHandlerException

The exception representing no resume handler specified for the dialog stack.

NumberPrompt<T>
Prompt<T>

Basic configuration options supported by all prompts.

PromptDialog

Dialog factory for simple prompts.

PromptDialog.PromptAttachment

Prompt for an attachment

PromptDialog.PromptChoice<T>

Prompt for a choice from a set of choices.

PromptDialog.PromptConfirm

Prompt for a confirmation.

PromptDialog.PromptDouble

Prompt for a double.

PromptDialog.PromptInt64

Prompt for a Int64

PromptDialog.PromptString

Prompt for a text string.

PromptException

The root of the exception hierarchy related to prompts.

PromptOptions
PromptOptions<T>

Options for PromptDialog.

PromptOptionsWithSynonyms<T>

Options with synonyms for PromptDialog.

PromptRecognizeChoicesOptions
PromptRecognizeNumbersOptions
PromptRecognizer
PromptStyler

Styles a prompt

RecognizeEntity<T>
RegexCase<R>

The regex case for switch.

ResumptionCookie

The resumption cookie that can be used to resume a conversation with a user.

TextPrompt
TooManyAttemptsException

The exception representing too many attempts by the user to answer the question asked by the prompt.

UrlToken

Allow object instances to serialized to URLs. Base64 can not be stored in URLs due to special characters.

Waterfall

Dialog optimized for prompting a user with a series of questions. Waterfalls accept a stack of functions which will be executed in sequence.Each waterfall step can ask a question of the user and the users response will be passed as an argument to the next waterfall step.

Interfaces

IAddress

The key that minimally and completely identifies a bot's conversation with a user on a channel.

IAwaitable<T>

Explicit interface to support the compiling of async/await.

IBotContext

The context for the bot.

IBotDataBag

A property bag of bot data.

ICase<T,R>

The interface for cases evaluated by switch.

IChannelCapability

Capability for a specific channel

IDialog

Interface for all Dialog objects that can be added to a DialogSet. The dialog should generally be a singleton and added to a dialog set using DialogSet.add() at which point it will be assigned a unique ID.

IDialog<TResult>

A IDialog<TResult> is a suspendable conversational process that produces a result of type TResult.

IDialogContext

The context for the execution of a dialog's conversational process.

IDialogContinue

Interface Dialog objects that can be continued.

IDialogResume

Interface for all Dialog objects that can be resumed.

IPromptOptions<T>

Options for PromptDialog.

IPromptRecognizeChoicesOptions
IPromptRecognizeNumbersOptions
IPromptRecognizer
IPromptRecognizeValuesOptions

Enums

PromptStyle

The style of generated prompt

Delegates

Chain.Continuation<T,R>

When the antecedent IDialog<TResult> has completed, execute this continuation method to construct the next IDialog<TResult>.

ContextualSelector<T,R>

The contextual selector function.

IntentActivityHandler

The handler for a LUIS intent.

IntentHandler

The handler for a LUIS intent.

PromptValidator<R,O>

Signature of a handler that can be passed to a prompt to provide additional validation logic or to customize the reply sent to the user when their response is invalid.

ResumeAfter<T>

Encapsulates a method that represents the code to execute after a result is available.

SkipStepFunction
StartAsync

Encapsulate a method that represents the code to start a dialog.

WaterfallStep