Open sandboxFocus

Interface IOnExceptionAspect

In Metalama, use OverrideMethodAspect and write your own try/catch block.

Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, use 'OverrideMethodAspect' and write your own try/catch block.", false)]
public interface IOnExceptionAspect : IMethodLevelAspect, IAspect

Methods

Name Description
OnException(MethodExecutionArgs)

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

Extension Methods