RealTimeAddress Constructor (String, String)
Creates a new instance of RealTimeAddress.
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
The URI of the identity.
- endpointId
Type: System.String
A string that uniquely identifies the endpoint.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when uri is null, empty, or not formed correctly. |
Remarks
If the URI represents a GRUU, the endpoint ID is not needed but can be included with no harm. The URI can be sip URI or tel URI. For a tel URI the endpoint ID should be passed as null.