Skip to content

Node<TNode>.AddWarning Method ​

Overloads ​

NameDescription
AddWarning(String)Adds a Message with Level Warning and the specified text to this node.
AddWarning(String, String)Adds a Message with Level Warning and the specified text to this node.

AddWarning(String) ​

Adds a Message with Level Warning and the specified text to this node.

c#
public void AddWarning(string text);

View source

Parameters ​

NameTypeDescription
textStringThe Text of the message.

AddWarning(String, String) ​

Adds a Message with Level Warning and the specified text to this node.

c#
public void AddWarning(string code, string text);

View source

Parameters ​

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