Lenguaje

BotFrameworkAuthentication.GenerateCallerIdAsync Método

Definición

Genera el callerId adecuado para escribir en la actividad, esto podría ser nulo.

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)

Parámetros

claimsIdentity
ClaimsIdentity

Las reclamaciones entrantes.

callerId
String

El callerID por defecto para usar si esto no es una habilidad.

cancellationToken
CancellationToken

Un token de cancelación.

Devoluciones

El callerId, esto podría ser nulo.

Se aplica a