Partager via


CancelAddParticipantOperationResult.WaitForEventProcessor Method

Definition

This is blocking call. Wait for CancelAddParticipantEventResult using CallAutomationEventProcessor.

public Azure.Communication.CallAutomation.CancelAddParticipantEventResult WaitForEventProcessor (System.Threading.CancellationToken cancellationToken = default);
member this.WaitForEventProcessor : System.Threading.CancellationToken -> Azure.Communication.CallAutomation.CancelAddParticipantEventResult
Public Function WaitForEventProcessor (Optional cancellationToken As CancellationToken = Nothing) As 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