PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingThread­Aware­AttributeOn­Async­Method­Resume
Open sandboxFocus

ThreadAwareAttribute.OnAsyncMethodResume Method

OnAsyncMethodResume(ref FlowBehavior, ref ConcurrentAccessAwaiter, ref Int32, ref ConcurrentAccessToken)

Declaration
[OnMethodResumeAdvice(Master = "OnAsyncMethodEntry", LinesOfCodeAvoided = 0)]
[MethodExecutionAdviceOptimization]
[Internal(AttributeId = -9126100459348524986L)]
[DebuggerAspectMethod]
public void OnAsyncMethodResume([FlowBehavior] ref FlowBehavior flowBehavior, [Awaiter] ref ConcurrentAccessAwaiter awaiter, [State] ref int acquireState, [State] ref ConcurrentAccessToken concurrentAccessToken)
Parameters
Type Name Description
FlowBehavior flowBehavior
ConcurrentAccessAwaiter awaiter
Int32 acquireState
ConcurrentAccessToken concurrentAccessToken