Lingua

BotFrameworkAuthentication.GenerateCallerIdAsync Metodo

Definizione

Genera il callerId appropriato da scrivere sull'attività, questo potrebbe essere nullo.

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)

Parametri

claimsIdentity
ClaimsIdentity

Le richieste in entrata.

callerId
String

Il callerID predefinito da usare se questa non è una competenza.

cancellationToken
CancellationToken

Un token di annullamento.

Valori restituiti

Il callerId, questo potrebbe essere nullo.

Si applica a