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

OnExceptionAspectConfiguration Class

Configuration of the IOnExceptionAspect aspect.

Inheritance
System.Object
OnExceptionAspectConfiguration
Namespace: PostSharp.Aspects.Configuration
Assembly: PostSharp.dll
Syntax
public sealed class OnExceptionAspectConfiguration : AspectConfiguration

Constructors

Name Description
OnExceptionAspectConfiguration()

Properties

Name Description
ExceptionType

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

SemanticallyAdvisedMethodKinds

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.

See Also