PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Escalate­Post­Sharp­Message­Attribute Class
EscalatePostSharpMessageAttribute Class
Custom attribute that, when applied on an assembly, means that a given message should be escalated to an error during the current PostSharp session.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Extensibility.EscalatePostSharpMessageAttribute

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public sealed class EscalatePostSharpMessageAttribute : Attribute

The EscalatePostSharpMessageAttribute type exposes the following members.

Constructors
  NameDescription
Public methodEscalatePostSharpMessageAttribute
Initializes a new EscalatePostSharpMessageAttribute.
Properties
  NameDescription
Public propertyMessageId
Gets the identifier of the message to be disabled.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Remarks
Errors and fatal errors cannot be disabled.
See Also