다음을 통해 공유


IUserToken.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>>>
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

User ID.

channelId
String

채널 ID입니다.

include
String

포함.

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

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

HTTP 작업에서 의 TokenStatus IList를 나타내는 작업입니다.

예외

작업이 잘못된 상태 코드를 반환할 때 throw됩니다.

Microsoft.Rest.SerializationException

응답을 역직렬화할 수 없는 경우 throw됩니다.

Microsoft.Rest.ValidationException

필수 매개 변수가 null이면 throw됩니다.

적용 대상