MethodExecutionArgs.Exception Property |
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
public Exception Exception { get; set; }
Property Value
Type: ExceptionAn Exception, or null if the method is exiting normally.
You cannot replace the exception by setting this property. Throw a new exception from the aspect if you need to replace the current exception.