CallAutomationEventProcessor Class
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.
Call Automation's EventProcessor for incoming events for ease of use.
public class CallAutomationEventProcessor
type CallAutomationEventProcessor = class
Public Class CallAutomationEventProcessor
- Inheritance
-
CallAutomationEventProcessor
Methods
AttachOngoingEventProcessor<TEvent>(String, Action<TEvent>) |
Attach Ongoing EventProcessor for specific event. |
DetachOngoingEventProcessor<TEvent>(String) |
Detach Ongoing EventProcessor for specific event. |
ProcessEvents(IEnumerable<CallAutomationEventBase>) |
Process incoming events. Pass incoming events to get it processed to have other method like WaitForEventProcessor to function. |
ProcessEvents(IEnumerable<CloudEvent>) |
Process incoming events. Pass incoming events to get it processed to have other method like WaitForEventProcessor to function. |
WaitForEventProcessor(Func<CallAutomationEventBase,Boolean>, CancellationToken) |
Wait for matching incoming event. This is blocking Call. Returns the CallAutomationEventBase once it arrives in ProcessEvent method. |
WaitForEventProcessor<TEvent>(String, String, CancellationToken) |
Wait for matching incoming event. This is blocking Call. Returns the CallAutomationEventBase once it arrives in ProcessEvent method. |
WaitForEventProcessorAsync(Func<CallAutomationEventBase,Boolean>, CancellationToken) |
Wait for matching incoming event. Returns the CallAutomationEventBase once it arrives in ProcessEvent method. |
WaitForEventProcessorAsync<TEvent>(String, String, CancellationToken) |
Wait for matching incoming event. Returns the CallAutomationEventBase once it arrives in ProcessEvent method. |
Applies to
Azure SDK for .NET