PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsAwait­Instrumentation­AspectOn­Suspend
Open sandboxFocus

AwaitInstrumentationAspect.OnSuspend Method

OnSuspend(AsyncCallId)

Declaration
[OnMethodYieldAdvice(LinesOfCodeAvoided = 0)]
[SelfPointcut]
[MethodExecutionAdviceOptimization]
[DebuggerAspectMethod]
public static void OnSuspend([AsyncCallId] AsyncCallId task)
Parameters
Type Name Description
AsyncCallId task