Share via


CancelAddParticipantOperationResult.WaitForEventProcessorAsync Method

Definition

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

Parameters

cancellationToken
CancellationToken

Cancellation Token can be used to set timeout or cancel this WaitForEventProcessor.

Returns

Returns CancelAddParticipantEventResult which contains either CancelAddParticipantSucceeded event or CancelAddParticipantFailed event.

Applies to