PostSharp6.4/API Reference/Post­Sharp.​Aspects.​Configuration Namespace/On­Exception­Aspect­Configuration­Attribute Class

OnExceptionAspectConfigurationAttribute Class

Custom attribute that, when applied on a class implementing IOnExceptionAspect, defines the configuration of that aspect.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Aspects.Configuration.AspectConfigurationAttribute
      PostSharp.Aspects.Configuration.OnExceptionAspectConfigurationAttribute

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public sealed class OnExceptionAspectConfigurationAttribute : AspectConfigurationAttribute

The OnExceptionAspectConfigurationAttribute type exposes the following members.

Constructors
  NameDescription
Public methodOnExceptionAspectConfigurationAttribute
Initializes a new instance of the OnExceptionAspectConfigurationAttribute class
Properties
  NameDescription
Public propertyAspectPriority
Gets or sets the weaving priority of the aspect.
(Inherited from AspectConfigurationAttribute.)
Public propertyExceptionType
Gets or sets the type of exceptions that are caught by this aspect.
Public propertySerializerType
Gets or sets the Type of the serializer that will be used to configure the current aspect.
(Inherited from AspectConfigurationAttribute.)
Methods
  NameDescription
Public methodGetAspectConfiguration
Gets the AspectConfiguration corresponding to the current custom attribute.
(Inherited from AspectConfigurationAttribute.)
See Also