EventGridModelFactory.AcsIncomingCallEventData 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.
Initializes a new instance of AcsIncomingCallEventData.
public static Azure.Messaging.EventGrid.SystemEvents.AcsIncomingCallEventData AcsIncomingCallEventData (Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel toCommunicationIdentifier = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel fromCommunicationIdentifier = default, string serverCallId = default, string callerDisplayName = default, Azure.Messaging.EventGrid.SystemEvents.AcsIncomingCallCustomContext customContext = default, string incomingCallContext = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel onBehalfOfCallee = default, string correlationId = default);
static member AcsIncomingCallEventData : Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * string * string * Azure.Messaging.EventGrid.SystemEvents.AcsIncomingCallCustomContext * string * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * string -> Azure.Messaging.EventGrid.SystemEvents.AcsIncomingCallEventData
Public Shared Function AcsIncomingCallEventData (Optional toCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional fromCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional serverCallId As String = Nothing, Optional callerDisplayName As String = Nothing, Optional customContext As AcsIncomingCallCustomContext = Nothing, Optional incomingCallContext As String = Nothing, Optional onBehalfOfCallee As CommunicationIdentifierModel = Nothing, Optional correlationId As String = Nothing) As AcsIncomingCallEventData
Parameters
- toCommunicationIdentifier
- CommunicationIdentifierModel
The communication identifier of the target user.
- fromCommunicationIdentifier
- CommunicationIdentifierModel
The communication identifier of the user who initiated the call.
- serverCallId
- String
The Id of the server call.
- callerDisplayName
- String
Display name of caller.
- customContext
- AcsIncomingCallCustomContext
Custom Context of Incoming Call.
- incomingCallContext
- String
Signed incoming call context.
- onBehalfOfCallee
- CommunicationIdentifierModel
The communication identifier of the user on behalf of whom the call is made.
- correlationId
- String
CorrelationId (CallId).
Returns
A new AcsIncomingCallEventData instance for mocking.
Applies to
Azure SDK for .NET