Represents a list of defects that were detected by the encoder or decoder in a NAS message. More...
Inherits List< Diagnostics.Entry >.
Classes | |
class | Entry |
Represents an entry in a diagnostic report. More... | |
Public Types | |
enum | Owner { Encoder, Decoder, Other } |
Enumerates the NAS/C# runtime components that can create a diagnostic report. More... | |
enum | Severity { None, Severity.Informational, Severity.Warning, Severity.IgnorableError, Severity.RecoverableError, Severity.CriticalError } |
Enumerates the defect severity levels in a diagnostic report. More... | |
Public Member Functions | |
Diagnostics () | |
Constructs an empty diagnostic report. More... | |
Diagnostics (Owner source) | |
Constructs an empty diagnostic report. More... | |
Diagnostics (Diagnostics source) | |
The copy constructor. More... | |
Entry | AddEntry (Severity severity, Reason reason, Object details, String location) |
Adds a new entry to a diagnostic report. More... | |
void | Reset (Owner source) |
Removes all entries from a diagnostic report and resets the identification of the NAS/C# runtime component to a specified value. This method is provided to facilitate the reuse of the existing Diagnostics object. More... | |
override string | ToString () |
Presents a diagnostic report in human-readable format. More... | |
void | Print (TextWriter s) |
Prints a diagnostic report to TextWriter . More... | |
Properties | |
Owner | Source [get, set] |
Identifies the NAS/C# runtime component that created a diagnostic report. More... | |
Severity | SeverityLevel [get] |
Determines the highest severity level of the entries contained in a diagnostic report. More... | |
Represents a list of defects that were detected by the encoder or decoder in a NAS message.
|
strong |
Enumerates the NAS/C# runtime components that can create a diagnostic report.
|
strong |
Enumerates the defect severity levels in a diagnostic report.
|
inline |
Constructs an empty diagnostic report.
|
inline |
Constructs an empty diagnostic report.
source | Identifies the NAS/C# runtime component that requested the diagnostic report. |
|
inline |
The copy constructor.
source | The source for the copy. |
|
inline |
Adds a new entry to a diagnostic report.
severity | The severity of the defect. |
reason | Specifies the reason why the entry was created. |
details | Provides more details about the defect (optional, can be null). |
location | Identifies the NAS message component in which the defect was detected. |
Diagnostics.Entry
object that was added.
|
inline |
Prints a diagnostic report to TextWriter
.
s | The TextWriter . |
|
inline |
Removes all entries from a diagnostic report and resets the identification of the NAS/C# runtime component to a specified value. This method is provided to facilitate the reuse of the existing Diagnostics
object.
source | Identifies the NAS/C# runtime component that requested the reset of the diagnostic report. |
|
inline |
Presents a diagnostic report in human-readable format.
|
get |
Determines the highest severity level of the entries contained in a diagnostic report.
|
getset |
Identifies the NAS/C# runtime component that created a diagnostic report.