SipUriParser Constructor (String, String, String, Int32, 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, _
    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

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.

See Also

Reference

SipUriParser Class

SipUriParser Members

SipUriParser Overload

Microsoft.Rtc.Signaling Namespace