Compartilhar via


CancelAllMediaOperationsResult.WaitForEventProcessorAsync Método

Definição

public System.Threading.Tasks.Task<Azure.Communication.CallAutomation.CancelAllMediaOperationsEventResult> WaitForEventProcessorAsync (System.Threading.CancellationToken cancellationToken = default);
member this.WaitForEventProcessorAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Communication.CallAutomation.CancelAllMediaOperationsEventResult>
Public Function WaitForEventProcessorAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of CancelAllMediaOperationsEventResult)

Parâmetros

cancellationToken
CancellationToken

O Token de Cancelamento pode ser usado para definir o tempo limite ou cancelar este WaitForEventProcessor.

Retornos

Retorna CancelAllMediaOperationsEventResult o que contém um PlayCanceled evento ou RecognizeCanceled .

Aplica-se a