PostSharp6.5//API Reference/Post­Sharp.​Aspects.​Configuration Namespace/On­Exception­Aspect­Configuration­Attribute Class/On­Exception­Aspect­Configuration­Attribute Properties/On­Exception­Aspect­Configuration­Attribute.​Exception­Type Property

OnExceptionAspectConfigurationAttribute.ExceptionType Property

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

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 6.5.4.0 (6.5.4.0)
Syntax
C#
public Type ExceptionType { get; set; }

Property Value

Type: Type
Remarks
If this property is null, any Exception shall be caught.
See Also