Compartilhar via


CallConnection.MuteParticipantAsync Método

Definição

Ativar mudo de participantes na chamada. Somente usuários do Acs têm suporte no momento.

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

Parâmetros

targetParticipant
CommunicationIdentifier

Participantes para ativar mudo.

operationContext
String

O Contexto da Operação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

targetParticipant é nulo.

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

Aplica-se a