Creates a new instance of RealTimeAddress.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
uri 
As 
String, _
	
defaultDomain 
As 
String, _
	
phoneContext 
As 
String _
)
C#
public 
RealTimeAddress(
	
string 
uri,
	
string 
defaultDomain,
	
string 
phoneContext
)
Visual C++
public:
RealTimeAddress(
	
String^ 
uri, 
	
String^ 
defaultDomain, 
	
String^ 
phoneContext
)
JavaScript

Microsoft.Rtc.Signaling.RealTimeAddress = 
function(
uri, 
defaultDomain, 
phoneContext);

Parameters

uri
Type: String
The URI of the identity. The URI can be sip URI or tel URI. If phoneContextis not null the URI can also be just the phone number.
defaultDomain
Type: 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
Type: String
The default phone context to use if missing in the given tel URI. Can be null.

See Also