Diagnostic Message 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#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
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
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| From | Reconstructs a DiagnosticMessage from a JSON string. |
| Get | Serves as the default hash function. (Inherited from Object) |
| Get | Gets the Type of the current instance. (Inherited from Object) |
| ToJson | Serializes this diagnostic message to a JSON string. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |