MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsIOn­Method­Boundary­AspectOn­Exception
Open sandboxFocus

IOnMethodBoundaryAspect.OnException Method

OnException(MethodExecutionArgs)

Implement OverrideMethod(), call meta.Proceed() in a try/catch block, and add this logic to the catch block.

Declaration
void OnException(MethodExecutionArgs args)
Parameters
Type Name Description
MethodExecutionArgs args