PostSharp4.3/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: 4.3.48.0 (4.3.48.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 propertyApplyToStateMachine
Determines how the aspect should behave when it is applied to an iterator or async methods, which are compiled into state machines.
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 propertySerializerType
Gets or sets the type of the serializer that will be used to configure the current aspect.
(Inherited from AspectConfiguration.)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also