Represents an abstract scheduler for tasks.
Namespace:
System.Threading.Tasks
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Unrestricted := True)> _ <HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization := True, _ ExternalThreading := True)> _ Public MustInherit Class TaskScheduler |
C# |
---|
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Unrestricted = true)] [HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true, ExternalThreading = true)] public abstract class TaskScheduler |
Remarks
TaskScheduler acts as the extension point for all pluggable scheduling logic. This includes mechanisms such as how to schedule a task for execution, and how scheduled tasks should be exposed to debuggers.
All members of the abstract TaskScheduler type are thread-safe and may be used from multiple threads concurrently.
Inheritance Hierarchy
System..::.Object
System.Threading.Tasks..::.TaskScheduler
System.Threading.Tasks..::.TaskScheduler