Compartilhar via


CallConnection.RemoveParticipant Método

Definição

Sobrecargas

RemoveParticipant(RemoveParticipantOptions, CancellationToken)

Remova os participantes da chamada.

RemoveParticipant(CommunicationIdentifier, String, CancellationToken)

Remova os participantes da chamada.

RemoveParticipant(RemoveParticipantOptions, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Remova os participantes da chamada.

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

RemoveParticipant(CommunicationIdentifier, String, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Remova os participantes da chamada.

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