PostSharp6.4/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: 6.4.3.0 (6.4.3.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.
Remarks
Errors and fatal errors cannot be disabled.
See Also