UserToken.GetTokenStatusWithHttpMessagesAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
キャンセル トークン。
返品
レスポンス本体とレスポンスヘッダーを含むレスポンスオブジェクト。
実装
例外
操作が無効なステータスコードを返した際にスローされます。
Microsoft.Rest.SerializationException
応答をデシリアライズできないときに投げられます。
Microsoft.Rest.ValidationException
入力値が期待されるデータ型、範囲、パターンと一致しない場合にスローされます。
必要なパラメータがnullのときに投げられます。