Skip to content

Message.Warning Method ​

Overloads ​

NameDescription
Warning(String, String)Initializes a new instance of the Message class with the Level Warning and specified Code and Text.
Warning(String)Initializes a new instance of the Message class with the Level Warning and specified Text.

Warning(String, String) ​

Initializes a new instance of the Message class with the Level Warning and specified Code and Text.

c#
public static Message Warning(string code, string text);

View source

Parameters ​

NameTypeDescription
codeStringThe Code of the message.
textStringThe Text of the message.

Returns ​

Message

The warning message.

Warning(String) ​

Initializes a new instance of the Message class with the Level Warning and specified Text.

c#
public static Message Warning(string text);

View source

Parameters ​

NameTypeDescription
textStringThe Text of the message.

Returns ​

Message

The warning message.