|
|
Message
|
| Member name | Value | Description |
|---|---|---|
| NA | 0 | Indicates a level that cannot be generally subscribed to. In this case, the message can only be subscribed to if a MessageFlags is subscribed to. Example: First Chance AppDomain Exceptions could fall under here because it's impossible to assign the risk of this king of exception. Instead the SystemHealth flag will be raised. |
| Debug | 1 | Indicates a message that may assist in debugging code and generally serves no additional purpose. |
| Info | 2 | Indicates that the message is informational. No action should be taken for these type of messages. |
| Warning | 3 | Indicates that something happened that might adversely affect the system's operation. This level can also be used for expected errors. Warnings can be precursors to errors in the system. |
| Error | 4 | Indicates that something happened that might adversely affect the system's operation. This level should be reserved for errors that are not expected to occur. These are non-urgent failures to the system. |
| Critical | 5 | Indicates that something happened that will render certain components useless. These errors can be recovered from. An example case would be one of those "this should never happen" errors that were likely not handled properly and thus could eventually make the system unstable or unusable. |
The MessageLevel type exposes the following members.
| Name | Description | |
|---|---|---|
| GetDescription |
Retrieves the description of the value that this Enum represents extracted from the DescriptionAttribute, or the enumeration name
if no description is available.
(Defined by EnumExtensions) | |
| GetFormattedName |
Retrieves a formatted name of the value that this Enum represents for visual display.
(Defined by EnumExtensions) |