IConversations.GetActivityMembersWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken) 메서드

정의

GetActivityMembersGetActivityMembers

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

대화 IDConversation ID

activityId
String

활동 IDActivity ID

customHeaders
Dictionary<String,List<String>>

요청에 추가 되는 헤더입니다.The headers that will be added to request.

cancellationToken
CancellationToken

취소 토큰입니다.The cancellation token.

반환

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

예외

작업에서 잘못 된 상태 코드를 반환한 경우 throw 됩니다.Thrown when the operation returned an invalid status code

Microsoft.Rest.SerializationException

응답을 deserialize 할 수 없는 경우 throw 됩니다.Thrown when unable to deserialize the response

Microsoft.Rest.ValidationException

필수 매개 변수가 null 인 경우 throw 됩니다.Thrown when a required parameter is null

설명

활동의 멤버를 열거 합니다.Enumerate the members of an activity.

이 REST API는 대화에서 특정 활동의 멤버를 나타내는 ChannelAccount 개체의 배열을 반환 하는 ConversationId와 활동 id를 사용 합니다.This REST API takes a ConversationId and a ActivityId, returning an array of ChannelAccount objects representing the members of the particular activity in the conversation.

적용 대상