語言

BotFrameworkOptions 類別

定義

警告

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

包含 .NET 整合 API 用於初始化BotFrameworkAdapter處理來自 Bot Framework Service 的 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
屬性

建構函式

名稱 Description
BotFrameworkOptions()
已淘汰.

初始化 BotFrameworkOptions 類別的新執行個體。

屬性

名稱 Description
AppCredentials
已淘汰.

取得或設定 , AppCredentials 應該用來儲存和檢索機器人框架服務驗證時使用的憑證。

AuthenticationConfiguration
已淘汰.

取得或設定一般的認證設定。

ChannelProvider
已淘汰.

取得或設定 , IChannelProvider 應該用來設定如何驗證從機器人框架服務收到的認證權杖。

ConnectorClientRetryPolicy
已淘汰.

取得或設定重試策略,以便在機器人框架服務(Bot Framework Service)出錯時使用。

CredentialProvider
已淘汰.

取得或設定 , ICredentialProvider 應該用來儲存和檢索機器人框架服務驗證時使用的憑證。

HttpClient
已淘汰.

取得或設定 HttpClient 應該用來向機器人框架服務(Bot Framework Service)發出請求的實例。

Middleware
已淘汰.

會拿到一份每個新活動要用的清單 IMiddleware 。

OnTurnError
已淘汰.

取得或設定錯誤處理器,用來捕捉中介軟體或應用程式中的異常。

Paths
已淘汰.

取得或設定在暴露各種機器人端點時應該使用的路徑。

State
已淘汰.

過時:此特性不再被框架使用。

適用於