Conversations.GetActivityMembersWithHttpMessagesAsync Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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)))
Parametry
- conversationId
- String
Identyfikator konwersacji.
- activityId
- String
Identyfikator działania.
- customHeaders
- Dictionary<String,List<String>>
Nagłówki, które zostaną dodane do żądania.
- cancellationToken
- CancellationToken
Token anulowania.
Zwraca
Obiekt odpowiedzi zawierający treść odpowiedzi i nagłówki odpowiedzi.
Implementuje
Wyjątki
Zgłaszany, gdy operacja zwróciła nieprawidłowy kod stanu.
Zgłaszany, gdy nie można wykonać deserializacji odpowiedzi.
Zgłaszany, gdy wartość wejściowa nie jest zgodna z oczekiwanym typem danych, zakresem lub wzorcem.
Zgłaszany, gdy wymagany parametr ma wartość null.
Uwagi
Wyliczanie członków działania.
Ten interfejs API REST przyjmuje identyfikator Konwersacja i identyfikator ActivityId, zwracając tablicę obiektów ChannelAccount reprezentujących członków określonego działania w konwersacji.