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
- endpoint
Type: Microsoft.Rtc.Signaling.RealTimeEndpoint
The endpoint which is creating this SignalingSession.
- 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.
- sessionTarget
Type: Microsoft.Rtc.Signaling.RealTimeAddress
The target for this session.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the endpoint has been terminated. |