Message Class |
Encapsulates a message (error, warning, info, ...).

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 6.4.3.0 (6.4.3.0)

C#
[SerializableAttribute] public sealed class Message
The Message type exposes the following members.

Name | Description | |
---|---|---|
![]() | Message(MessageLocation, SeverityType, String, String, String, String, Exception) |
Initializes a new Message and specifies all its properties.
|
![]() | Message(SeverityType, String, String, String, String, String, Int32, Int32, Exception) |
Initializes a new Message and specifies all its properties.
|
![]() | Message(SeverityType, String, String, String, String, String, Int32, Int32, Int32, Int32, Exception) |
Initializes a new Message and specifies all its properties.
|

Name | Description | |
---|---|---|
![]() | HelpLink |
Gets the help link.
|
![]() | InnerException |
Gets the
|
![]() | Location |
Location of the source code artifact causing the message.
|
![]() | MessageId |
Gets the message type identifier.
|
![]() | MessageText |
Gets the message formatted text.
|
![]() | Severity |
Gets the message severity.
|
![]() | Source |
Gets or sets the name of the source component.
|

Name | Description | |
---|---|---|
![]() ![]() | GetExceptionStackMessage |
Returns a string composed of the messages of
all inner exceptions.
|
![]() ![]() | Write(Message) |
Writes a message by providing a Message object.
|
![]() ![]() | Write(MessageLocation, SeverityType, String, String) |
Writes a message.
|
![]() ![]() | Write(Assembly, SeverityType, String, String, Object[]) |
Writes a message.
|
![]() ![]() | Write(MemberInfo, SeverityType, String, String, Object[]) |
Writes a message.
|
![]() ![]() | Write(ParameterInfo, SeverityType, String, String, Object[]) |
Writes a message.
|
![]() ![]() | Write(Type, SeverityType, String, String, Object[]) |
Writes a message.
|
![]() ![]() | Write(LocationInfo, SeverityType, String, String, Object[]) |
Writes a message.
|
![]() ![]() | Write(MessageLocation, SeverityType, String, String, Object[]) |
Writes a message.
|

Name | Description | |
---|---|---|
![]() ![]() | NotAvailable |
When set to the locationLine or locationColumn constructor parameter or the [!:LocationStartColumn],
[!:LocationEndColumn], [!:LocationStartLine], [!:LocationEndLine], means that the value of this property is unknown.
|
