Message Constructor (SeverityType, String, String, String, String, String, Int32, Int32, Exception)PostSharp Documentation
Initializes a new Message and specifies all its properties.

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 3.1.26.9 (3.1.26.0)

Syntax

public Message(
	SeverityType severity,
	string messageId,
	string messageText,
	string helpLink,
	string source,
	string locationFile,
	int locationLine,
	int locationColumn,
	Exception innerException
)

Parameters

severity
Type: PostSharp.Extensibility SeverityType
Message severify (fatal error, error, info, debug).
messageId
Type: OnlineSystem String
Identifier of the message type.
messageText
Type: OnlineSystem String
Fully formatted message text.
helpLink
Type: OnlineSystem String
Link to the help file page associated to this message.
source
Type: OnlineSystem String
Name of the component emitting the message.
locationFile
Type: OnlineSystem String
File that caused the error, or null if the file is unknown or does not apply.
locationLine
Type: OnlineSystem Int32
Position (line) in the file that caused the error, or NotAvailable if the line is unknown or does not apply.
locationColumn
Type: OnlineSystem Int32
Position (column) in the file that caused the error, or NotAvailable if the line is unknown or does not apply.
innerException
Type: OnlineSystem Exception
The OnlineException that caused this message, or null if this message was not caused by an exception.
See Also