RealTimeAddress Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RealTimeAddress(String) |
Creates a new instance of RealTimeAddress. |
RealTimeAddress(String, String) |
Creates a new instance of RealTimeAddress. |
RealTimeAddress(String, String, String) |
Creates a new instance of RealTimeAddress. |
RealTimeAddress(String)
Creates a new instance of RealTimeAddress.
public:
RealTimeAddress(System::String ^ uri);
public RealTimeAddress (string uri);
new Microsoft.Rtc.Signaling.RealTimeAddress : string -> Microsoft.Rtc.Signaling.RealTimeAddress
Public Sub New (uri As String)
Parameters
- uri
- String
The URI of the identity. The URI can be a GRUU, a sip URI or a tel URI.
Applies to
RealTimeAddress(String, String)
Creates a new instance of RealTimeAddress.
public:
RealTimeAddress(System::String ^ uri, System::String ^ endpointId);
public RealTimeAddress (string uri, string endpointId);
new Microsoft.Rtc.Signaling.RealTimeAddress : string * string -> Microsoft.Rtc.Signaling.RealTimeAddress
Public Sub New (uri As String, endpointId As String)
Parameters
- uri
- String
The URI of the identity.
- endpointId
- String
A string that uniquely identifies the endpoint.
Exceptions
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.
Applies to
RealTimeAddress(String, String, String)
Creates a new instance of RealTimeAddress.
public:
RealTimeAddress(System::String ^ uri, System::String ^ defaultDomain, System::String ^ phoneContext);
public RealTimeAddress (string uri, string defaultDomain, string phoneContext);
new Microsoft.Rtc.Signaling.RealTimeAddress : string * string * string -> Microsoft.Rtc.Signaling.RealTimeAddress
Public Sub New (uri As String, defaultDomain As String, phoneContext As String)
Parameters
- uri
- String
The URI of the identity. The URI can be sip URI or tel URI.
If phoneContext
is not null the URI can also be just the phone number.
- defaultDomain
- String
The default domain to use when converting a tel URI to a sip URI. If null the tel URI will not be converted to a sip URI.
- phoneContext
- String
The default phone context to use if missing in the given tel URI. Can be null.