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

IAsyncMethodInterceptionAspect.OnInvokeAsync Method

OnInvokeAsync(MethodInterceptionArgs)

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

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

Advice arguments.

Returns
Type Description
System.Threading.Tasks.Task