BotFrameworkOptions 类

定义

注意

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

包含 .NET 集成 API 用于初始化 BotFrameworkAdapter 处理来自 Bot Framework 服务的 HTTP 请求的 的设置。

[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
继承
BotFrameworkOptions
属性

构造函数

BotFrameworkOptions()
已过时.

初始化 BotFrameworkOptions 类的新实例。

属性

AppCredentials
已过时.

获取或设置一个 AppCredentials ,它应该用于存储和检索使用 Bot Framework 服务进行身份验证期间使用的凭据。

AuthenticationConfiguration
已过时.

获取或设置身份验证的常规配置设置。

ChannelProvider
已过时.

获取或设置一个 IChannelProvider ,它应该用于为如何验证从 Bot Framework 服务收到的身份验证令牌提供配置。

ConnectorClientRetryPolicy
已过时.

获取或设置在 Bot Framework 服务出错时要使用的重试策略。

CredentialProvider
已过时.

获取或设置一个 ICredentialProvider ,它应该用于存储和检索使用 Bot Framework 服务进行身份验证期间使用的凭据。

HttpClient
已过时.

获取或设置 HttpClient 应用于向 Bot Framework 服务发出请求的 实例。

Middleware
已过时.

获取要用于每个传入活动的 的列表 IMiddleware

OnTurnError
已过时.

获取或设置用于捕获中间件或应用程序中异常的错误处理程序。

Paths
已过时.

获取或设置公开各种机器人终结点时应使用的路径。

State
已过时.

已过时:框架不再使用此属性。

适用于