Share via


AnswerCallResult.WaitForEventProcessorAsync(CancellationToken) Method

Definition

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

Parameters

cancellationToken
CancellationToken

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

Returns

Returns AnswerCallEventResult which contains CallConnected event.

Applies to