Partager via


UserTokenExtensions.GetTokenStatusAsync Méthode

Définition

Obtenir l’état du jeton.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.TokenStatus>> GetTokenStatusAsync (this Microsoft.Bot.Connector.IUserToken operations, string userId, string channelId = default, string include = default, System.Threading.CancellationToken cancellationToken = default);
static member GetTokenStatusAsync : Microsoft.Bot.Connector.IUserToken * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.TokenStatus>>
<Extension()>
Public Function GetTokenStatusAsync (operations As IUserToken, userId As String, Optional channelId As String = Nothing, Optional include As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of TokenStatus))

Paramètres

operations
IUserToken

Groupe d’opérations pour cette méthode d’extension.

userId
String

ID d'utilisateur.

channelId
String

ID de canal.

include
String

Inclure.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Tâche représentant l’état du jeton.

S’applique à