Message Constructors
Overloads
| Name | Description |
|---|---|
Message(MessageLevel, String) |
Initializes a new instance of the Message class with the specified Level and Text. |
Message(MessageLevel, String, String) |
Initializes a new instance of the Message class with the specified Level, Code and Text. |
Message(MessageLevel, String)
Initializes a new instance of the Message class with the specified Level and Text.
public Message(MessageLevel level, string text);
Parameters
| Name | Type | Description |
|---|---|---|
level |
MessageLevel |
The Level of the message. |
text |
String |
The Text of the message. |
Message(MessageLevel, String, String)
Initializes a new instance of the Message class with the specified Level, Code and Text.
public Message(MessageLevel level, string code, string text);
Parameters
| Name | Type | Description |
|---|---|---|
level |
MessageLevel |
The Level of the message. |
code |
String |
The Code of the message. |
text |
String |
The Text of the message. |