This documentation is archived and is not being maintained.
TaskScheduler Methods
Visual Studio 2010
The TaskScheduler type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Frees all resources associated with this scheduler. (Overrides Object::Finalize().) |
|
FromCurrentSynchronizationContext | Creates a TaskScheduler associated with the current System.Threading::SynchronizationContext. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetScheduledTasks | For debugger support only, generates an enumerable of Task instances currently queued to the scheduler waiting to be executed. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
QueueTask | Queues a Task to the scheduler. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TryDequeue | Attempts to dequeue a Task that was previously queued to this scheduler. |
|
TryExecuteTask | Attempts to execute the provided Task on this scheduler. |
|
TryExecuteTaskInline | Determines whether the provided Task can be executed synchronously in this call, and if it can, executes it. |
Show: