Compartilhar via


CallConnection.AddParticipantAsync Método

Definição

Sobrecargas

AddParticipantAsync(AddParticipantOptions, CancellationToken)

Adicione o participante à chamada.

AddParticipantAsync(CallInvite, CancellationToken)

Adicione o participante à chamada.

AddParticipantAsync(AddParticipantOptions, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Adicione o participante à chamada.

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

AddParticipantAsync(CallInvite, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Adicione o participante à chamada.

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