DiagnosticHeader Constructor
Initialize a new instance of DiagnosticHeader from a given signalingHeader.
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 |
---|---|
ArgumentException | ArgumentException will be thrown if SignalingHeader is not ms-diagnostics header or header value have missing parameter with name errorId, reason or source. |
ArgumentNullException | Header parameter is null. |