Language

Conversations.GetActivityMembersWithHttpMessagesAsync メソッド

定義

GetActivityMembers。

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Bot.Connector.ChannelAccount>>> GetActivityMembersWithHttpMessagesAsync(string conversationId, string activityId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>>> GetActivityMembersWithHttpMessagesAsync(string conversationId, string activityId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetActivityMembersWithHttpMessagesAsync : 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.Connector.ChannelAccount>>>
override this.GetActivityMembersWithHttpMessagesAsync : 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.Connector.ChannelAccount>>>
abstract member GetActivityMembersWithHttpMessagesAsync : 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.ChannelAccount>>>
override this.GetActivityMembersWithHttpMessagesAsync : 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.ChannelAccount>>>
Public Function GetActivityMembersWithHttpMessagesAsync (conversationId As String, activityId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of ChannelAccount)))

パラメーター

conversationId
String

会話 ID。

activityId
String

アクティビティ ID。

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

キャンセル トークン。

返品

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

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

実装

例外

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

Microsoft.Rest.SerializationException

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

Microsoft.Rest.ValidationException

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

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

注釈

アクティビティのメンバーを列挙します。

この REST API は ConversationId と ActivityId を受け取り、会話内の特定のアクティビティのメンバーを表す ChannelAccount オブジェクトの配列を返します。

適用対象