Compartilhar via


CallConnection.RemoveParticipantAsync Método

Definição

Sobrecargas

RemoveParticipantAsync(RemoveParticipantOptions, CancellationToken)

Remova os participantes da chamada.

RemoveParticipantAsync(CommunicationIdentifier, String, CancellationToken)

Remova os participantes da chamada.

RemoveParticipantAsync(RemoveParticipantOptions, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Remova os participantes da chamada.

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

Parâmetros

options
RemoveParticipantOptions

Opções para as operações RemoveParticipants.

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

RemoveParticipantAsync(CommunicationIdentifier, String, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Remova os participantes da chamada.

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

Parâmetros

participantToRemove
CommunicationIdentifier

A lista de identidade dos participantes a serem removidos da chamada.

operationContext
String

O Contexto da Operação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

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

participantToRemove é nulo.

Aplica-se a