Skip to content

Message.Warning Method

Overloads

Name Description
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.

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

View source

Parameters

Name Type Description
code String The Code of the message.
text String The 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.

public static Message Warning(string text);

View source

Parameters

Name Type Description
text String The Text of the message.

Returns

Message

The warning message.