Langue

IUserToken.GetTokenStatusWithHttpMessagesAsync Méthode

Définition

Obtenez le statut du jeton avec le message HTTP.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Bot.Schema.TokenStatus>>> GetTokenStatusWithHttpMessagesAsync(string userId, string channelId = default, string include = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTokenStatusWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Bot.Schema.TokenStatus>>>
Public Function GetTokenStatusWithHttpMessagesAsync (userId As String, Optional channelId As String = Nothing, Optional include As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of TokenStatus)))

Paramètres

userId
String

Identifiant.

channelId
String

ID de canal.

include
String

Incluez.

customHeaders
Dictionary<String,List<String>>

Les en-têtes qui seront ajoutés à la requête.

cancellationToken
CancellationToken

Jeton d’annulation.

Retours

Task<Microsoft.Rest.HttpOperationResponse<IList<TokenStatus>>>

Une tâche représentant un IList de TokenStatus depuis l’opération HTTP.

Exceptions

Déclenché lorsque l’opération a renvoyé un code de statut invalide.

Microsoft.Rest.SerializationException

Rejeté lorsqu’il n’est pas possible de désérialiser la réponse.

Microsoft.Rest.ValidationException

Lancé lorsqu’un paramètre requis est nul.

S’applique à