Provides information useful for diagnostics.

The following tables list the members exposed by the DiagnosticHeader type.

Public Constructors

  Name Description
DiagnosticHeader Initialize a new instance of the class.

Public Properties

  Name Description
Attributes Gets the collection of attributes in the header.
ErrorCode Gets ErrorId.SubWarningCode part of the ms-diagnostic header.
HeaderName Gets the name of the header.
Reason Gets the reason attribute of the ms-diagnostic header object.
Source Gets the source attribute specified in the ms-diagnostic header object.
SubErrorWarning Gets the suberror warning codes.

Public Methods (see also Protected Methods )

  Name Description
Equals  Overloaded. (inherited from Object )
GetHashCode  (inherited from Object )
GetType  (inherited from Object )
ReferenceEquals  (inherited from Object )
ToString Overridden. Returns a string representation of the ms-diagnostic header object.

Protected Methods

  Name Description
Finalize  (inherited from Object )
MemberwiseClone  (inherited from Object )

See Also