SipUriParameter Constructor (String, String)
Initializes an instance of the class.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
value As String _
)
'Usage
Dim name As String
Dim value As String
Dim instance As New SipUriParameter(name, value)
public SipUriParameter(
string name,
string value
)
Parameters
- name
Type: System.String
The name of the parameter.
- value
Type: System.String
The value for the parameter. Can be null or empty.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if name is an empty string or value is not a valid string for given URI parameter name. |
ArgumentNullException | Thrown if name is passed as null string. |