PostSharp.ILAPI ReferencePost­Sharp.​AspectsOn­Method­Boundary­AspectOn­Resume
Open sandboxFocus

OnMethodBoundaryAspect.OnResume Method

OnResume(MethodExecutionArgs)

Method executed when a state machine resumes execution after a yield return or await statement.

Declaration
[MethodExecutionAdviceOptimization]
[RequiresMethodExecutionAdviceAnalysis]
[RequiresDebuggerEnhancement]
[HasInheritedAttribute]
public virtual void OnResume(MethodExecutionArgs args)
Parameters
Type Name Description
MethodExecutionArgs args

Event arguments specifying which method is being executed and which are its arguments.

Implements
IOnStateMachineBoundaryAspect.OnResume(MethodExecutionArgs)