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

IOnExceptionAspect.OnException Method

OnException(MethodExecutionArgs)

Implement OverrideMethod() and write your own try/catch block.

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