Compartilhar via


AddParticipantResult.WaitForEventProcessor(CancellationToken) Método

Definição

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

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

Parâmetros

cancellationToken
CancellationToken

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

Retornos

Retorna AddParticipantEventResult o que contém evento AddParticipantSucceeded ou AddParticipantFailed evento.

Aplica-se a