Skip to content

Node<TNode>.AddMessage Method ​

Overloads ​

NameDescription
AddMessage(Message)Adds a Message to this node.
AddMessage(MessageLevel, String)Adds a Message with the specified Level and Text to this node.
AddMessage(MessageLevel, String, String)Adds a Message with the specified Level, Code and Text to this node.

AddMessage(Message) ​

Adds a Message to this node.

c#
public void AddMessage(Message message);

View source

Parameters ​

NameTypeDescription
messageMessageThe Message to add.

AddMessage(MessageLevel, String) ​

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

c#
public void AddMessage(MessageLevel level, string text);

View source

Parameters ​

NameTypeDescription
levelMessageLevelThe Level of the Message.
textStringThe Text of the message.

AddMessage(MessageLevel, String, String) ​

Adds a Message with the specified Level, Code and Text to this node.

c#
public void AddMessage(MessageLevel level, string code, string text);

View source

Parameters ​

NameTypeDescription
levelMessageLevelThe Level of the Message.
codeStringThe Code for the message.
textStringThe Text of the message.