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
- header
Type: Microsoft.Rtc.Signaling..::..SignalingHeader
[SignalingHeader] should be ms-diagnostics header.
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. |