Share via


DiagnosticHeader Constructor

Initialize a new instance of the class.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub New ( _
    header As SignalingHeader _
)
'Usage
Dim header As SignalingHeader

Dim instance As New DiagnosticHeader(header)
public DiagnosticHeader(
    SignalingHeader header
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Header parameter is null.

ArgumentException

[ArgumentException] is thrown if [SignalingHeader] is not ms-diagnostics header or the header value has a missing parameter with the name errorId, reason, or source.

See Also

Reference

DiagnosticHeader Class

DiagnosticHeader Members

Microsoft.Rtc.Signaling Namespace