다음을 통해 공유


SignalingHeader Constructor (String, String)

Initializes a new instance of SignalingHeader used by the application to add an extension header to a SIP message.

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 SignalingHeader(name, value)
public SignalingHeader(
    string name,
    string value
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown when name or value are passed as null.

ArgumentException

Thrown when name or value parameters length exceeded the size limit for header name and value.

MessageParsingException

Thrown if the name/value pair does not constitute a valid header.

See Also

Reference

SignalingHeader Class

SignalingHeader Members

SignalingHeader Overload

Microsoft.Rtc.Signaling Namespace