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