PostSharp / / API Reference / Post­Sharp.​Aspects / On­Exception­Aspect

Class OnExceptionAspect

Inheritance
OnExceptionAspect
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[MulticastAttributeUsage]
[HasInheritedAttribute]
[AspectConfigurationAttributeType]
[Serializer]
public abstract class OnExceptionAspect : MethodLevelAspect, IMethodLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, IOnExceptionAspect, IMethodLevelAspect, IAspect

Constructors

Name Description
OnExceptionAspect()

Properties

Name Description
SemanticallyAdvisedMethodKinds
UnsupportedTargetAction

Methods

Name Description
CreateAspectConfiguration()
GetExceptionType(MethodBase)
OnException(MethodExecutionArgs)
SetAspectConfiguration(AspectConfiguration, MethodBase)