Compartilhar via


CallConnection.GetParticipantAsync Método

Definição

Obter participante de uma chamada.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.CallParticipant>> GetParticipantAsync (Azure.Communication.CommunicationIdentifier participantIdentifier, System.Threading.CancellationToken cancellationToken = default);
abstract member GetParticipantAsync : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.CallParticipant>>
override this.GetParticipantAsync : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.CallParticipant>>
Public Overridable Function GetParticipantAsync (participantIdentifier As CommunicationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CallParticipant))

Parâmetros

participantIdentifier
CommunicationIdentifier

O identificador do participante.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

O CallParticipant.

Exceções

O servidor retornou um erro. Consulte Message para obter detalhes retornados do servidor.

participantIdentifier é nulo.

Aplica-se a