Partilhar via


SignalingSession Constructor (RealTimeEndpoint, String, String, RealTimeAddress)

NOTE: This API is now obsolete.

Initializes a signaling session with specified information. It automatically generates a GUID-based call ID.

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

Syntax

'Declaration
<ObsoleteAttribute("This constructor is to be removed in future versions. Please use SignalingSession(endpoint,settings) instead.")> _
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)
[ObsoleteAttribute("This constructor is to be removed in future versions. Please use SignalingSession(endpoint,settings) instead.")]
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 null.

Exceptions

Exception Condition
InvalidOperationException

Thrown when the endpoint has been terminated.

See Also

Reference

SignalingSession Class

SignalingSession Members

SignalingSession Overload

Microsoft.Rtc.Signaling Namespace