Compartilhar via


PlayResult.WaitForEventProcessor(CancellationToken) Método

Definição

Isso está bloqueando a chamada. Aguarde o PlayEventResult uso de CallAutomationEventProcessor.

public Azure.Communication.CallAutomation.PlayEventResult WaitForEventProcessor (System.Threading.CancellationToken cancellationToken = default);
member this.WaitForEventProcessor : System.Threading.CancellationToken -> Azure.Communication.CallAutomation.PlayEventResult
Public Function WaitForEventProcessor (Optional cancellationToken As CancellationToken = Nothing) As PlayEventResult

Parâmetros

cancellationToken
CancellationToken

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

Retornos

Retorna PlayEventResult o que contém evento PlayCompleted ou PlayFailed evento.

Aplica-se a