UserToken.GetTokenStatusWithHttpMessagesAsync メソッド

定義

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>>>
override this.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)))

パラメーター

userId
String

ユーザー ID。

channelId
String

チャネル ID。

include
String

[追加]。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

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

応答本文と応答ヘッダーを含む応答オブジェクト。

実装

例外

操作が無効な状態コードを返したときにスローされます。

Microsoft.Rest.SerializationException

応答を逆シリアル化できない場合にスローされます。

Microsoft.Rest.ValidationException

入力値が予想されるデータ型、範囲、またはパターンと一致しない場合にスローされます。

必須パラメーターが null の場合にスローされます。

適用対象