PostSharpAPI ReferencePost­Sharp.​Aspects.​ConfigurationOn­Exception­Aspect­Configuration­Attribute
Open sandboxFocus

OnExceptionAspectConfigurationAttribute Class

Custom attribute that, when applied on a class implementing IOnExceptionAspect, defines the configuration of that aspect.

Inheritance
OnExceptionAspectConfigurationAttribute
Namespace: PostSharp.Aspects.Configuration
Assembly: PostSharp.dll
Syntax
public sealed class OnExceptionAspectConfigurationAttribute : AspectConfigurationAttribute

Constructors

Name Description
OnExceptionAspectConfigurationAttribute()

Properties

Name Description
ExceptionType

Gets or sets the type of exceptions that are caught by this aspect.

Methods

Name Description
CreateAspectConfiguration()

Creates a concrete AspectConfiguration instance specifically for the current AspectConfigurationAttribute type.

SetAspectConfiguration(AspectConfiguration)

Sets up an AspectConfiguration object according to the current custom attribute instance.

See Also