Skip to content

Message Constructors

Overloads

Name Description
Message(MessageLevel, String) Initializes a new instance of the Message class with the specified Level and Text.
Message(MessageLevel, String, String) Initializes a new instance of the Message class with the specified Level, Code and Text.

Message(MessageLevel, String)

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

public Message(MessageLevel level, string text);

View source

Parameters

Name Type Description
level MessageLevel The Level of the message.
text String The Text of the message.

Message(MessageLevel, String, String)

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

public Message(MessageLevel level, string code, string text);

View source

Parameters

Name Type Description
level MessageLevel The Level of the message.
code String The Code of the message.
text String The Text of the message.