Compartilhar via


CallConnection.AddParticipant Método

Definição

Sobrecargas

AddParticipant(AddParticipantOptions, CancellationToken)

Adicione o participante à chamada.

AddParticipant(CallInvite, CancellationToken)

Adicione o participante à chamada.

AddParticipant(AddParticipantOptions, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Adicione o participante à chamada.

public virtual Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult> AddParticipant (Azure.Communication.CallAutomation.AddParticipantOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member AddParticipant : Azure.Communication.CallAutomation.AddParticipantOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>
override this.AddParticipant : Azure.Communication.CallAutomation.AddParticipantOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>
Public Overridable Function AddParticipant (options As AddParticipantOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AddParticipantResult)

Parâmetros

options
AddParticipantOptions

Opções para a operação Adicionar Participantes.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

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

options é nulo.

Aplica-se a

AddParticipant(CallInvite, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Adicione o participante à chamada.

public virtual Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult> AddParticipant (Azure.Communication.CallAutomation.CallInvite participantToAdd, System.Threading.CancellationToken cancellationToken = default);
abstract member AddParticipant : Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>
override this.AddParticipant : Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>
Public Overridable Function AddParticipant (participantToAdd As CallInvite, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AddParticipantResult)

Parâmetros

participantToAdd
CallInvite

Participante a ser adicionado.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

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

participantToAdd é nulo.

Aplica-se a