Initializes an instance of SipUriParser.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
New ( _
scheme
As
String, _
userInfo
As
String, _
host
As
String, _
port
As
Integer _
)
|
C# |
public
SipUriParser(
string
scheme,
string
userInfo,
string
host,
int
port
)
|
Visual C++ |
public:
SipUriParser(
String^
scheme,
String^
userInfo,
String^
host,
int
port
)
|
JavaScript |
Microsoft.Rtc.Signaling.SipUriParser =
function(
scheme,
userInfo,
host,
port);
|
Parameters
-
scheme
- Type:
String
The URI scheme string.
-
userInfo
- Type:
String
The user:port@ component.
-
host
- Type:
String
The host component.
-
port
- Type:
Int32
The port component.
Exceptions
Exception |
Condition |
ArgumentException
|
Thrown if any of the parameter is not valid string to form
SipUri. |
See Also