BotFrameworkConfigurationBuilder BotFrameworkConfigurationBuilder BotFrameworkConfigurationBuilder Class

Definition

public class BotFrameworkConfigurationBuilder
type BotFrameworkConfigurationBuilder = class
Public Class BotFrameworkConfigurationBuilder
Inheritance
BotFrameworkConfigurationBuilderBotFrameworkConfigurationBuilderBotFrameworkConfigurationBuilder

Constructors

BotFrameworkConfigurationBuilder(BotFrameworkOptions) BotFrameworkConfigurationBuilder(BotFrameworkOptions) BotFrameworkConfigurationBuilder(BotFrameworkOptions)

Properties

BotFrameworkOptions BotFrameworkOptions BotFrameworkOptions

Methods

UseCredentialProvider(ICredentialProvider) UseCredentialProvider(ICredentialProvider) UseCredentialProvider(ICredentialProvider)

Configures an ICredentialProvider that should be used to store and retrieve credentials used during authentication with the Bot Framework.

UseHttpClient(HttpClient) UseHttpClient(HttpClient) UseHttpClient(HttpClient)

Sets the HttpClient instance that will be used to make Bot Framework Service calls.

UseMiddleware(IMiddleware) UseMiddleware(IMiddleware) UseMiddleware(IMiddleware)

Adds a piece of IMiddleware to the bot's middleware pipeline.

UseMiddleware(Func<ITurnContext,Exception,Task>) UseMiddleware(Func<ITurnContext,Exception,Task>) UseMiddleware(Func<ITurnContext,Exception,Task>)

Adds an Error Handler the bot.

UsePaths(Action<BotFrameworkPaths>) UsePaths(Action<BotFrameworkPaths>) UsePaths(Action<BotFrameworkPaths>)

Configures which paths should be used to expose the various endpoints of the bot.

UseRetryPolicy(RetryPolicy) UseRetryPolicy(RetryPolicy) UseRetryPolicy(RetryPolicy)

Adds retry policy on failure for Bot Framework Service calls.

Extension Methods

UseMicrosoftApplicationIdentity(BotFrameworkConfigurationBuilder, String, String) UseMicrosoftApplicationIdentity(BotFrameworkConfigurationBuilder, String, String) UseMicrosoftApplicationIdentity(BotFrameworkConfigurationBuilder, String, String)

Configures the bot with the a single identity that will be used to authenticate requests made to the Bot Framework.

Applies to