Compartilhar via


CallConnection.GetParticipant Método

Definição

Obter participante de uma chamada.

public virtual Azure.Response<Azure.Communication.CallAutomation.CallParticipant> GetParticipant (Azure.Communication.CommunicationIdentifier participantIdentifier, System.Threading.CancellationToken cancellationToken = default);
abstract member GetParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.CallParticipant>
override this.GetParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.CallParticipant>
Public Overridable Function GetParticipant (participantIdentifier As CommunicationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As 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