CreateCallResult.WaitForEventProcessor(CancellationToken) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

This is blocking call. Wait for CreateCallEventResult using CallAutomationEventProcessor.

C#
public Azure.Communication.CallAutomation.CreateCallEventResult WaitForEventProcessor(System.Threading.CancellationToken cancellationToken = default);

Parameters

cancellationToken
CancellationToken

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

Returns

Returns CreateCallEventResult which contains CallConnected event.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview