IOnExceptionAspect.OnException Method |
Method executed after the body of methods to which this aspect is applied,
in case that the method failed with an exception (i.e., in a catch block).
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
void OnException( MethodExecutionArgs args )
Parameters
- args
- Type: PostSharp.Aspects.MethodExecutionArgs
Advice arguments.