Condividi tramite


Conversations.GetActivityMembersWithHttpMessagesAsync Metodo

Definizione

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

Parametri

conversationId
String

ID conversazione.

activityId
String

ID attività.

customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

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

Oggetto di risposta contenente il corpo della risposta e le intestazioni di risposta.

Implementazioni

Eccezioni

Generato quando l'operazione ha restituito un codice di stato non valido.

Microsoft.Rest.SerializationException

Generato quando non è possibile deserializzare la risposta.

Microsoft.Rest.ValidationException

Generato quando un valore di input non corrisponde al tipo di dati previsto, all'intervallo o al modello.

Generato quando un parametro obbligatorio è Null.

Commenti

Enumera i membri di un'attività.

Questa API REST accetta un Oggetto ConversationId e un ActivityId, che restituisce una matrice di oggetti ChannelAccount che rappresentano i membri dell'attività specifica nella conversazione.

Si applica a