TaskScheduler Class - Internal members

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

This article describes the internal members of the System.Threading.Tasks.TaskScheduler class that help you implement a custom debugger. For general information about this class, see the TaskScheduler reference article.

Namespace: System.Threading.Tasks

Assembly: mscorlib (in mscorlib.dll)

Because you can't access these internal members from the .NET Framework, the following syntax is provided in Common Intermediate Language (CIL).

Syntax

.class public abstract auto ansi beforefieldinit System.Threading.Tasks.TaskScheduler
       extends System.Object

Members

Methods

Name Description
GetScheduledTasksForDebugger Retrieves an array of all scheduled tasks.
GetTaskSchedulersForDebugger Retrieves an array of all TaskScheduler objects that are currently active.

Remarks

See also