共用方式為


NotifyDebuggerOfWaitCompletion method

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Placeholder method used as a breakpoint target by the debugger. This method must not be inlined or optimized.

Namespace: System.Threading.Tasks

Assembly: mscorlib (in mscorlib.dll)

Syntax

private void NotifyDebuggerOfWaitCompletion()

Remarks

All join operations with a task should call this method if their debugger notification bit is set.

Requirements

See also