PostSharp5.0//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: 5.0.55.0 (5.0.55.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).)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also