SipUriParameter Constructor (String, String)
Initializes a new 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, which can be nullNothingnullptrunita null reference (Nothing in Visual Basic) or empty.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if name is passed as a nullNothingnullptrunita null reference (Nothing in Visual Basic) string. |
ArgumentException | Thrown if name is an empty string or value is not a valid string for given URI parameter name. |