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, IAspectMethods
| Name | Description |
|---|---|
| OnException(MethodExecutionArgs) | Implement OverrideMethod() and write your own try/catch block. |