Share via


CallAutomationEventParser.Parse Method

Definition

Overloads

Parse(CloudEvent)

Parsing a CallAutomation event from a CloudEvent.

Parse(BinaryData)

Parsing a CallAutomation event from BinaryData.

Parse(String, String)

Parsing a CallAutomation event given the data and event type of the payload.

Parse(CloudEvent)

Source:
CallAutomationEventParser.cs
Source:
CallAutomationEventParser.cs

Parsing a CallAutomation event from a CloudEvent.

public static Azure.Communication.CallAutomation.CallAutomationEventBase Parse (Azure.Messaging.CloudEvent cloudEvent);
static member Parse : Azure.Messaging.CloudEvent -> Azure.Communication.CallAutomation.CallAutomationEventBase
Public Shared Function Parse (cloudEvent As CloudEvent) As CallAutomationEventBase

Parameters

cloudEvent
CloudEvent

CloudEvent.

Returns

A CallAutomationEventBase object.

Applies to

Parse(BinaryData)

Source:
CallAutomationEventParser.cs
Source:
CallAutomationEventParser.cs

Parsing a CallAutomation event from BinaryData.

public static Azure.Communication.CallAutomation.CallAutomationEventBase Parse (BinaryData json);
static member Parse : BinaryData -> Azure.Communication.CallAutomation.CallAutomationEventBase
Public Shared Function Parse (json As BinaryData) As CallAutomationEventBase

Parameters

json
BinaryData

event json in BinaryData format.

Returns

A CallAutomationEventBase object.

Applies to

Parse(String, String)

Source:
CallAutomationEventParser.cs
Source:
CallAutomationEventParser.cs

Parsing a CallAutomation event given the data and event type of the payload.

public static Azure.Communication.CallAutomation.CallAutomationEventBase Parse (string eventData, string eventType);
static member Parse : string * string -> Azure.Communication.CallAutomation.CallAutomationEventBase
Public Shared Function Parse (eventData As String, eventType As String) As CallAutomationEventBase

Parameters

eventData
String

the event data of a CloudEvent in string.

eventType
String

the event type of a CloudEvent in string.

Returns

An array of CallAutomationEventBase object.

Applies to