PostSharp.ILAPI ReferencePost­Sharp.​AspectsMethod­Interception­AspectOn­Invoke­Async
Open sandboxFocus

MethodInterceptionAspect.OnInvokeAsync Method

OnInvokeAsync(MethodInterceptionArgs)

Method invoked instead of the method to which the aspect has been applied.

Declaration
[RequiresMethodInterceptionAdviceAnalysis]
[RequiresDebuggerEnhancement]
[HasInheritedAttribute]
[MethodInterceptionAdviceOptimization]
public virtual Task OnInvokeAsync(MethodInterceptionArgs args)
Parameters
Type Name Description
MethodInterceptionArgs args

Advice arguments.

Returns
Type Description
System.Threading.Tasks.Task
Implements
IAsyncMethodInterceptionAspect.OnInvokeAsync(MethodInterceptionArgs)