Dela via


UserTokenExtensions.GetTokenStatusAsync Metod

Definition

Hämta tokenstatus.

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))

Parametrar

operations
IUserToken

Åtgärdsgruppen för den här tilläggsmetoden.

userId
String

Användar-ID.

channelId
String

Kanal-ID.

include
String

Inkluderar.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

En uppgift som representerar tokenstatusen.

Gäller för