Partilhar via


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

  • 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.

See Also

Reference

RealTimeAddress Class

RealTimeAddress Members

RealTimeAddress Overload

Microsoft.Rtc.Signaling Namespace