共用方式為


BotFrameworkAdapter.IConnectorClientBuilder.CreateConnectorClientAsync 方法

定義

System.Threading.Tasks.Task<Microsoft.Bot.Connector.IConnectorClient> IConnectorClientBuilder.CreateConnectorClientAsync (string serviceUrl, System.Security.Claims.ClaimsIdentity claimsIdentity, string audience, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.Bot.Builder.OAuth.IConnectorClientBuilder.CreateConnectorClientAsync : string * System.Security.Claims.ClaimsIdentity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.IConnectorClient>
override this.Microsoft.Bot.Builder.OAuth.IConnectorClientBuilder.CreateConnectorClientAsync : string * System.Security.Claims.ClaimsIdentity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.IConnectorClient>
Function CreateConnectorClientAsync (serviceUrl As String, claimsIdentity As ClaimsIdentity, audience As String, cancellationToken As CancellationToken) As Task(Of IConnectorClient) Implements IConnectorClientBuilder.CreateConnectorClientAsync

參數

serviceUrl
String
claimsIdentity
ClaimsIdentity
audience
String
cancellationToken
CancellationToken

傳回

實作

適用於