Compartilhar via


CallConnection.MuteParticipant Método

Definição

Ativar mudo do participante da chamada. Somente usuários do Acs têm suporte no momento.

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

Parâmetros

targetParticipant
CommunicationIdentifier

Participante para ativar mudo.

operationContext
String

O Contexto da Operação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Uma resposta que contém MuteParticipantsResponse.

Exceções

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

targetParticipant é nulo.

Aplica-se a