The DiagnosticHeadertype exposes the following members.

Constructors

  Name Description
DiagnosticHeader
Initialize a new instance of DiagnosticHeader from a given signalingHeader

Methods

  Name Description
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
GetValue
Returns the string representation of value of dignostic header.
MemberwiseClone (Inherited from Object.)
ParseDiagnosticHeader
Gets the parsed diagnostic header from a response.
ToString
Returns the string representation of dignostic header contains only errorcode, source and reason.
(Overrides ObjectToString () () () .)

Properties

  Name Description
Attributes
Gets the collection for name-value pairs of the header excluding the required attributes "source" and "reason".
ErrorCode
Gets the integer representing the "ErrorId" part of the ms-diagnostic header.
HeaderName
Name of the header, it will be either "ms-diagnostics" or "ms-diagnostics-public"
Reason
Gets the string representing the value of the reason attribute specified in ms-diagnostic header.
Source
Gets the string representing the value of the source attribute specified in ms-diagnostic header.
SubErrorWarning
Gets the suberror warning codes as string. If errorId is NNNN.XXXX.YYYY then it will return "XXXX.YYYY" as subError warning.

See Also