Language

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のときに投げられます。

適用対象