BotFrameworkAuthentication.GenerateCallerIdAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アクティビティに書き込む適切な 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)
パラメーター
- credentialFactory
- ServiceClientCredentialsFactory
- claimsIdentity
- ClaimsIdentity
受信要求。
- callerId
- String
これがスキルでない場合に使用する既定の callerId。
- cancellationToken
- CancellationToken
キャンセル トークン。
戻り値
callerId。これは null である可能性があります。