SignalingSession Constructor (RealTimeEndpoint, RealTimeAddress)
Initializes a signaling session with endpoint and session target.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
endpoint As RealTimeEndpoint, _
sessionTarget As RealTimeAddress _
)
'Usage
Dim endpoint As RealTimeEndpoint
Dim sessionTarget As RealTimeAddress
Dim instance As New SignalingSession(endpoint, _
sessionTarget)
public SignalingSession(
RealTimeEndpoint endpoint,
RealTimeAddress sessionTarget
)
Parameters
- endpoint
Type: Microsoft.Rtc.Signaling.RealTimeEndpoint
Endpoint which is creating this SignalingSession.
- sessionTarget
Type: Microsoft.Rtc.Signaling.RealTimeAddress
The target for this session.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the endpoint has been terminated. |