次の方法で共有


BotFrameworkAuthentication.GenerateCallerIdAsync メソッド

定義

アクティビティに書き込む適切な callerId を生成します。これは null である可能性があります。

protected internal System.Threading.Tasks.Task<string> GenerateCallerIdAsync(Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory credentialFactory, System.Security.Claims.ClaimsIdentity claimsIdentity, string callerId, System.Threading.CancellationToken cancellationToken);
member this.GenerateCallerIdAsync : Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory * System.Security.Claims.ClaimsIdentity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Protected Friend Function GenerateCallerIdAsync (credentialFactory As ServiceClientCredentialsFactory, claimsIdentity As ClaimsIdentity, callerId As String, cancellationToken As CancellationToken) As Task(Of String)

パラメーター

claimsIdentity
ClaimsIdentity

受信要求。

callerId
String

これがスキルでない場合に使用する既定の callerId。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

callerId。これは null である可能性があります。

適用対象