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

OnExceptionAspectConfigurationAttribute.ExceptionType Property

ExceptionType

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

Declaration
public Type ExceptionType { get; set; }
Property Value
Type Description
System.Type
Remarks

If this property is null, any Exception shall be caught.