SignalingSession.GetNewEarlyDialog Method
Creates a new dialog context.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function GetNewEarlyDialog As SipDialogContext
'Usage
Dim instance As SignalingSession
Dim returnValue As SipDialogContext
returnValue = instance.GetNewEarlyDialog()
public SipDialogContext GetNewEarlyDialog()
Return Value
Type: Microsoft.Rtc.Signaling.SipDialogContext
A new dialog context for this session.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the session is not a received session in incoming or connecting state. |
Remarks
New dialog contexts can only be created on sessions that have received a session through the SessionReceived event. I.e. the UAS side of an INVITE request.