BotFrameworkOptions Class

Definition

Caution

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

Contains settings used by the .NET integration APIs to initialize the BotFrameworkAdapter that processes the HTTP requests coming from the Bot Framework Service.

[System.Obsolete("Use `CloudAdapter` with `ConfigurationBotFrameworkAuthentication` instead to configure bot runtime.", false)]
public class BotFrameworkOptions
[<System.Obsolete("Use `CloudAdapter` with `ConfigurationBotFrameworkAuthentication` instead to configure bot runtime.", false)>]
type BotFrameworkOptions = class
Public Class BotFrameworkOptions
Inheritance
BotFrameworkOptions
Attributes

Constructors

BotFrameworkOptions()

Initializes a new instance of the BotFrameworkOptions class.

Properties

AppCredentials

Gets or sets an AppCredentials that should be used to store and retrieve the credentials used during authentication with the Bot Framework Service.

AuthenticationConfiguration

Gets or sets the general configuration settings for authentication.

ChannelProvider

Gets or sets an IChannelProvider that should be used to provide configuration for how to validate authentication tokens received from the Bot Framework Service.

ConnectorClientRetryPolicy

Gets or sets the retry policy to use in case of errors from Bot Framework Service.

CredentialProvider

Gets or sets an ICredentialProvider that should be used to store and retrieve the credentials used during authentication with the Bot Framework Service.

HttpClient

Gets or sets the HttpClient instance that should be used to make requests to the Bot Framework Service.

Middleware

Gets a list of the IMiddleware to use on each incoming activity.

OnTurnError

Gets or sets an error handler to use to catch exceptions in the middleware or application.

Paths

Gets or sets what paths should be used when exposing the various bot endpoints.

State
Obsolete.

OBSOLETE: This property is no longer used by the framework.

Applies to