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

OnExceptionAspectConfiguration Class

Configuration of the IOnExceptionAspect aspect.
Inheritance Hierarchy
System.Object
  PostSharp.Aspects.Configuration.AspectConfiguration
    PostSharp.Aspects.Configuration.OnExceptionAspectConfiguration

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public sealed class OnExceptionAspectConfiguration : AspectConfiguration

The OnExceptionAspectConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodOnExceptionAspectConfiguration
Initializes a new instance of the OnExceptionAspectConfiguration class
Properties
  NameDescription
Public propertyAspectPriority
Gets or sets the aspect priority. Aspects with smaller priority are processed first. The default priority is zero.
(Inherited from AspectConfiguration.)
Public propertyDependencies
Gets or sets the collection of dependencies.
(Inherited from AspectConfiguration.)
Public propertyExceptionType
Gets or sets the type of exceptions that are caught by this aspect.
Public propertySemanticallyAdvisedMethodKinds
Determines which target methods will be advised semantically. This affects the behavior of the aspect when it's applied to iterator or async methods, which are compiled into state machines.
Public propertySerializerType
Gets or sets the type of the serializer that will be used to configure the current aspect.
(Inherited from AspectConfiguration.)
Public propertyUnsupportedTargetAction
Specifies the action to take when the aspect is applied to an unsupported target element.
(Inherited from AspectConfiguration.)
See Also