SipUriParser Constructor (String, String, String, Int32, String)
Initializes an 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, _
port As Integer, _
parameters As String _
)
'Usage
Dim scheme As String
Dim userInfo As String
Dim host As String
Dim port As Integer
Dim parameters As String
Dim instance As New SipUriParser(scheme, _
userInfo, host, port, parameters)
public SipUriParser(
string scheme,
string userInfo,
string host,
int port,
string parameters
)
Parameters
- scheme
Type: System.String
URI scheme string.
- userInfo
Type: System.String
The user:port@ component.
- host
Type: System.String
The host component.
- port
Type: System.Int32
The port component.
- parameters
Type: System.String
The URI parameters.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if any of the parameter is not valid string to form SipUri. |