PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingBackground­AttributeOn­Invoke­Async
Open sandboxFocus

Method OnInvokeAsync

OnInvokeAsync(MethodInterceptionArgs)

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

Declaration
[MethodInterceptionAdviceOptimization]
[DebuggerAspectMethod]
public override Task OnInvokeAsync(MethodInterceptionArgs args)
Parameters
Type Name Description
MethodInterceptionArgs args

Advice arguments.

Returns
Type Description
Task
Overrides
MethodInterceptionAspect.OnInvokeAsync(MethodInterceptionArgs)