SignalingSession Constructor (RealTimeEndpoint, String, String, RealTimeAddress, String)

NOTE: This API is now obsolete.

Creates a signaling session with specified information.

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, _
    callId As String _
)
'Usage
Dim endpoint As RealTimeEndpoint
Dim localIdentityUri As String
Dim requestUri As String
Dim sessionTarget As RealTimeAddress
Dim callId As String

Dim instance As New SignalingSession(endpoint, _
    localIdentityUri, requestUri, sessionTarget, _
    callId)
[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,
    string callId
)

Parameters

  • localIdentityUri
    Type: System.String
    The local identity URI to use in "From" headers.
  • requestUri
    Type: System.String
    The request URI 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