PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Configuration Namespace / On­Exception­Aspect­Configuration Class / On­Exception­Aspect­Configuration Properties / On­Exception­Aspect­Configuration.​Exception­Type Property
OnExceptionAspectConfiguration.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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public TypeIdentity ExceptionType { get; set; }

Property Value

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