RealTimeAddress Constructor (String, String)
Initializes a new instance of the class.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
uri As String, _
endpointId As String _
)
'Usage
Dim uri As String
Dim endpointId As String
Dim instance As New RealTimeAddress(uri, endpointId)
public RealTimeAddress(
string uri,
string endpointId
)
Parameters
- uri
Type: System..::..String
Indicates the URI of the session target.
- endpointId
Type: System..::..String
The endpoint ID identifying the endpoint of the session target.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the URI is nullNothingnullptrunita null reference (Nothing in Visual Basic), empty, or not formed correctly. |
Remarks
If the URI represents a [GRUU], the endpoint ID is not needed but can be included.