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