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

BackgroundAttribute.OnInvoke Method

OnInvoke(MethodInterceptionArgs)

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

Declaration
[MethodInterceptionAdviceOptimization]
[DebuggerAspectMethod]
public override void OnInvoke(MethodInterceptionArgs args)
Parameters
Type Name Description
MethodInterceptionArgs args

Advice arguments.

Overrides
MethodInterceptionAspect.OnInvoke(MethodInterceptionArgs)