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() PostSharp.Aspects.Configuration.OnExceptionAspectConfigurationAttribute

Properties

Name Description
ExceptionType

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

Methods

Name Description
CreateAspectConfiguration()
SetAspectConfiguration(AspectConfiguration)