PostSharpAPI ReferencePost­Sharp.​ExtensibilityEscalate­Post­Sharp­Message­Attribute
Open sandboxFocus

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
EscalatePostSharpMessageAttribute
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
public sealed class EscalatePostSharpMessageAttribute : Attribute
Remarks

Errors and fatal errors cannot be disabled.

Constructors

Name Description
EscalatePostSharpMessageAttribute(String)

Initializes a new EscalatePostSharpMessageAttribute.

Properties

Name Description
MessageId

Gets the identifier of the message to be disabled.