CallAutomationEventProcessor.AttachOngoingEventProcessor<TEvent> 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.
Attach Ongoing EventProcessor for specific event.
public void AttachOngoingEventProcessor<TEvent> (string callConnectionId, Action<TEvent> eventProcessor) where TEvent : Azure.Communication.CallAutomation.CallAutomationEventBase;
member this.AttachOngoingEventProcessor : string * Action<'Event (requires 'Event :> Azure.Communication.CallAutomation.CallAutomationEventBase)> -> unit (requires 'Event :> Azure.Communication.CallAutomation.CallAutomationEventBase)
Public Sub AttachOngoingEventProcessor(Of TEvent As CallAutomationEventBase) (callConnectionId As String, eventProcessor As Action(Of TEvent))
Type Parameters
- TEvent
Call Automation Event Type.
Parameters
- callConnectionId
- String
CallConnectionId of the call.
- eventProcessor
- Action<TEvent>
EventProcessor to be fired when the specified event arrives.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET