Compartilhar via


CallMedia.CancelAllMediaOperations(CancellationToken) Método

Definição

Cancele qualquer operação de mídia para todos os participantes.

public virtual Azure.Response<Azure.Communication.CallAutomation.CancelAllMediaOperationsResult> CancelAllMediaOperations (System.Threading.CancellationToken cancellationToken = default);
abstract member CancelAllMediaOperations : System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.CancelAllMediaOperationsResult>
override this.CancelAllMediaOperations : System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.CancelAllMediaOperationsResult>
Public Overridable Function CancelAllMediaOperations (Optional cancellationToken As CancellationToken = Nothing) As Response(Of CancelAllMediaOperationsResult)

Parâmetros

cancellationToken
CancellationToken

Um CancellationToken opcional para cancelar a solicitação.

Retornos

Retorna CancelAllMediaOperationsResult, que pode ser usado para aguardar os eventos relacionados a CancelAllMediaOperations.

Aplica-se a