GetScheduledTasksForDebugger Method
Retrieves an array of all scheduled tasks.
Note
This information is specific to .NET Framework 4 and is subject to change in a future release.
Because you cannot access these members from the .NET Framework, this topic provides syntax in Microsoft intermediate language (MSIL). For more information about MSIL, see Compiling to MSIL.
Namespace: System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
.method assembly hidebysig instance class System.Threading.Tasks.Task[] GetScheduledTasksForDebugger() cil managed
Return Value
An array of all scheduled tasks. Each task is executing or has finished.
Remarks
This method is not thread-safe and should not be used concurrently with other instances of TaskScheduler. It should be called from a debugger only when the debugger has suspended all other threads.