SipUriParser Constructor (String, String, String)
Creates a new instance of [SipUriParser].
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
scheme As String, _
userInfo As String, _
host As String _
)
'Usage
Dim scheme As String
Dim userInfo As String
Dim host As String
Dim instance As New SipUriParser(scheme, _
userInfo, host)
public SipUriParser(
string scheme,
string userInfo,
string host
)
Parameters
- scheme
Type: System..::..String
The [URI] scheme string.
- userInfo
Type: System..::..String
The user:port@ component.
- host
Type: System..::..String
The host component.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if any of the parameter is not a valid string to form [SipUri]. |
Remarks
Per Section 19.1.1 of RFC 3261, duplicate parameters are disallowed in SipUriParser constructors, and will cause an exception to be thrown.