Compartilhar via


TransferCallToParticipantResult.WaitForEventProcessorAsync Método

Definição

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

Parâmetros

cancellationToken
CancellationToken

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

Retornos

Retorna TransferCallToParticipantEventResult o que contém evento CallTransferAccepted ou CallTransferFailed evento.

Aplica-se a