Share via


DiagnosticHeader Members

Include Protected Members
Include Inherited Members

Represents the diagnostic information received as ms-diagnostic header in the response.

The DiagnosticHeader type exposes the following members.

Constructors

  Name Description
Public method DiagnosticHeader Initialize a new instance of DiagnosticHeader from a given signalingHeader.

Top

Properties

  Name Description
Public property Attributes Gets the collection for name-value pairs of the header excluding the required attributes "source" and "reason".
Public property ErrorCode Gets the integer representing the "ErrorId" part of the ms-diagnostic header.
Public property HeaderName Name of the header, it will be either "ms-diagnostics" or "ms-diagnostics-public".
Public property Reason Gets the string representing the value of the reason attribute specified in ms-diagnostic header.
Public property Source Gets the string representing the value of the source attribute specified in ms-diagnostic header.
Public property SubErrorWarning Gets the sub-error warning code as a string. For example, if the warning code is NNNN.XXXX.YYYY, then the value XXXX.YYYY is returned.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Public method GetValue Returns the string representation of value of diagnostic header.
Protected method MemberwiseClone (inherited from Object)
Public methodStatic member ParseDiagnosticHeader(IEnumerable<SignalingHeader>) Gets the parsed diagnostic header from a list of signaling headers.
Public methodStatic member ParseDiagnosticHeader(SipMessageData) Gets the parsed diagnostic header from a response.
Public method ToString Returns the string representation of dignostic header contains only error code, source and reason. (Overrides Object.ToString().)

Top

See Also

Reference

DiagnosticHeader Class

Microsoft.Rtc.Signaling Namespace