PostSharp//API Reference/Post­Sharp.​Aspects/IOn­State­Machine­Boundary­Aspect/On­Resume
Open sandboxFocus

Method OnResume

OnResume(MethodExecutionArgs)

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

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

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