IAsyncMethodInterceptionAspect Interface |
Runtime semantics of an aspect that, when applied on a method, intercepts invocations of this method.
Includes semantics for both async and non-async method interception.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public interface IAsyncMethodInterceptionAspect : IMethodInterceptionAspect, IMethodLevelAspect, IAspect
The IAsyncMethodInterceptionAspect type exposes the following members.
Name | Description | |
---|---|---|
OnInvoke |
Method invoked instead of the method to which the aspect has been applied.
(Inherited from IMethodInterceptionAspect.) | |
OnInvokeAsync |
Method invoked instead of the method to which the aspect has been applied.
| |
RuntimeInitialize |
Initializes the current aspect.
(Inherited from IMethodLevelAspect.) |
See MethodInterceptionAspect for details.