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.
c#
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.
c#
public static Message Error(string text);Parameters ​
| Name | Type | Description |
|---|---|---|
text | String | The Text of the message. |
Returns ​
The error message.