Language

Conversations.GetConversationMemberWithHttpMessagesAsync メソッド

定義

GetConversationMember。

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.ChannelAccount>> GetConversationMemberWithHttpMessagesAsync(string userId, string conversationId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
member this.GetConversationMemberWithHttpMessagesAsync : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.ChannelAccount>>
Public Function GetConversationMemberWithHttpMessagesAsync (userId As String, conversationId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of ChannelAccount))

パラメーター

userId
String

ユーザー ID。

conversationId
String

会話 ID。

customHeaders
Dictionary<String,List<String>>

リクエストに追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

返品

Task<Microsoft.Rest.HttpOperationResponse<ChannelAccount>>

レスポンス本体とレスポンスヘッダーを含むレスポンスオブジェクト。

例外

操作が無効なステータスコードを返した際にスローされます。

Microsoft.Rest.SerializationException

応答をデシリアライズできないときに投げられます。

Microsoft.Rest.ValidationException

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

必要なパラメータがnullのときに投げられます。

注釈

ID で会話の単一メンバーを取得します。

このREST APIはConversationIdとUserIdを受け取り、会話のメンバーのChannelAccountオブジェクトを返します。

適用対象