SignalingSession Constructor (RealTimeEndpoint, String, String, RealTimeAddress)

Creates a new instance of the class.

Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub New ( _
    endpoint As RealTimeEndpoint, _
    localIdentityUri As String, _
    requestUri As String, _
    sessionTarget As RealTimeAddress _
)
'Usage
Dim endpoint As RealTimeEndpoint
Dim localIdentityUri As String
Dim requestUri As String
Dim sessionTarget As RealTimeAddress

Dim instance As New SignalingSession(endpoint, _
    localIdentityUri, requestUri, sessionTarget)
public SignalingSession(
    RealTimeEndpoint endpoint,
    string localIdentityUri,
    string requestUri,
    RealTimeAddress sessionTarget
)

Parameters

  • localIdentityUri
    Type: System..::..String
    The local identity URI to use in "From" headers.
  • requestUri
    Type: System..::..String
    The requestUri to use, if different from sessionTarget. Can be nullNothingnullptrunita null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
InvalidOperationException

Thrown when the endpoint is terminated.

Remarks

This constructor automatically generates a GUID-based call ID.

See Also

Reference

SignalingSession Class

SignalingSession Members

SignalingSession Overload

Microsoft.Rtc.Signaling Namespace