DiagnosticMessage Class

Represents a structured diagnostic produced by a ControlChart diagnostic workflow.

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
public sealed class DiagnosticMessage
Inheritance
Object  →  DiagnosticMessage

Remarks

Diagnostics are distinct from exceptions. Exceptions indicate invalid usage or unsupported input combinations and are always thrown. Diagnostics indicate cautionary interpretation guidance or notable workflow observations on otherwise valid input and are collected in a DiagnosticReport.

Code is stable across releases and suitable for programmatic filtering. Use the constants in DiagnosticCodes rather than hand-written string literals when comparing codes.

Properties

Code Gets the stable, dot-separated code that identifies this diagnostic category, such as "Capability.ProcessMayBeUnstable".
Message Gets the human-readable message text suitable for logs or UI surfaces.
Severity Gets the severity of this diagnostic.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FromJson Reconstructs a DiagnosticMessage from a JSON string.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToJson Serializes this diagnostic message to a JSON string.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also