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 で会話の 1 つのメンバーを取得します。

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

適用対象