PostSharp6.2/API Reference/Post­Sharp.​Aspects Namespace/IAsync­Method­Interception­Aspect Interface

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: 6.2.11.0 (6.2.11.0)
Syntax
C#
public interface IAsyncMethodInterceptionAspect : IMethodInterceptionAspect, 
	IMethodLevelAspect, IAspect

The IAsyncMethodInterceptionAspect type exposes the following members.

Methods
  NameDescription
Public methodOnInvoke
Method invoked instead of the method to which the aspect has been applied.
(Inherited from IMethodInterceptionAspect.)
Public methodOnInvokeAsync
Method invoked instead of the method to which the aspect has been applied.
Public methodRuntimeInitialize
Initializes the current aspect.
(Inherited from IMethodLevelAspect.)
Remarks
See MethodInterceptionAspect for details.
See Also