Microsoft.Bot.Builder Namespace

Classes

ActivityHandler

An implementation of the IBot interface intended for further subclassing. Derive from this class to plug in code to handle particular Activity types. Pre and post processing of Activities can be plugged in by deriving and calling the base class implementation.

AutoSaveStateMiddleware

Middleware to automatically call .SaveChanges() at the end of the turn for all BotState class it is managing.

BotAdapter

Represents a bot adapter that can connect a bot to a service endpoint. This class is abstract.

BotAssert

Provides methods for debugging Bot Builder code.

BotFrameworkAdapter

A bot adapter that can connect a bot to a service endpoint.

BotFrameworkHttpStatusCodeErrorDetectionStrategy

Bot Framework HTTP Status code error detection strategy.

BotState

Reads and writes state for your bot to storage.

BotStateSet

Manages a collection of botState and provides ability to load and save in parallel.

ConversationState

Handles persistence of a conversation state object using the conversation ID as part of the key.

InspectionMiddleware
InspectionState
IntentScore

Score plus any extra information about an intent.

InterceptionMiddleware
InvokeResponse

Tuple class containing an HTTP Status Code and a JSON Serializable object. The HTTP Status code is, in the invoke activity scenario, what will be set in the resulting POST. The Body of the resulting POST will be the JSON Serialized content from the Body property.

MemoryStorage

A storage layer that uses an in-memory dictionary.

MemoryTranscriptStore

The memory transcript store stores transcripts in volatile memory in a Dictionary.

MessageFactory

Contains utility methods for various message types a bot can return.

MiddlewareSet

Contains an ordered set of IMiddleware.

NullBotTelemetryClient
PagedResult<T>

Page of results from an enumeration.

PrivateConversationState

Handles persistence of a conversation state object using the conversation.Id and from.Id part of an activity.

RecognizerResult

Contains recognition results generated by an IRecognizer.

RecognizerResultExtensions

Contains helper methods for working with RecognizerResult objects.

ShowTypingMiddleware

When added, this middleware will send typing activities back to the user when a Message activity is receieved to let them know that the bot has receieved the message and is working on the response. You can specify a delay in milliseconds before the first typing activity is sent and then a frequency, also in milliseconds which determines how often another typing activity is sent. Typing activities will continue to be sent until your bot sends another message back to the user.

StorageExtensions

Contains extension methods for IStorage objects.

TelemetryConstants
TelemetryLoggerConstants
TelemetryLoggerMiddleware
TraceTranscriptLogger

Representas a transcript logger that writes activites to a Trace object.

TranscriptInfo

Represents a copy of a conversation.

TranscriptLoggerMiddleware

Middleware for logging incoming and outgoing activitites to an ITranscriptStore.

TurnContext

Provides context for a turn of a bot.

TurnContextStateCollection

Values persisted for the lifetime of the turn as part of the ITurnContext.

UserState

Handles persistence of a user state object using the user ID as part of the key.

Interfaces

IBot

Represents a bot that can operate on incoming activities.

IBotTelemetryClient

Logging client for Bot Telemetry.

IMiddleware

Represents middleware that can operate on incoming activities.

IPropertyManager

IPropertyManager defines implementation of a source of named properties.

IRecognizer

Interface for Recognizers.

IRecognizerConvert

Can convert from a generic recognizer result to a strongly typed one.

IStatePropertyAccessor<T>

Interface which defines methods for how you can get data from a property source such as BotState.

IStatePropertyInfo

This is metadata about the property including policy info.

IStorage

Defines the interface for a storage layer.

IStoreItem

Exposes an ETag for concurrency control.

ITranscriptLogger

Transcript logger stores activities for conversations for recall.

ITranscriptStore

Represents a store for recording conversations.

ITurnContext

Provides context for a turn of a bot.

ITurnContext<T>

A ITurnContext where the inbound Activity property is strongly typed.

IUserTokenProvider

Enums

Severity

This enumeration is used by TrackTrace to identify severity level.

Delegates

BotCallbackHandler

The callback delegate for application code.

DeleteActivityHandler

A method that can participate in delete activity events for the current turn.

NextDelegate

Encapsulates an asynchronous method that calls the next IMiddleware.OnTurnAsync(ITurnContext, NextDelegate, CancellationToken) or IBot.OnTurnAsync(ITurnContext, CancellationToken) method in the middleware pipeline.

SendActivitiesHandler

A method that can participate in send activity events for the current turn.

UpdateActivityHandler

A method that can participate in update activity events for the current turn.