IUserToken.GetTokenStatusWithHttpMessagesAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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.
Rejeté lorsqu’il n’est pas possible de désérialiser la réponse.
Lancé lorsqu’un paramètre requis est nul.