PostSharp6.4/API Reference/Post­Sharp.​Extensibility Namespace/Message­Exception Class

MessageException Class

Exception embedding a Message.
Inheritance Hierarchy
System.Object
  System.Exception
    PostSharp.Extensibility.MessageException

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
[SerializableAttribute]
public sealed class MessageException : Exception

The MessageException type exposes the following members.

Constructors
  NameDescription
Public methodMessageException
Initializes a new MessageException from an existing Message.
Properties
  NameDescription
Public propertyMessageObject
Gets the Message em
Methods
  NameDescription
Public methodGetObjectData
Serializes the current object.
(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
See Also