GetTaskSchedulersForDebugger Method
Retrieves an array of all TaskScheduler objects that are currently active.
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 static class System.Threading.Tasks.TaskScheduler[] GetTaskSchedulersForDebugger() cil managed
Return Value
An array of all TaskScheduler objects that are currently active in this AppDomain.
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.