TaskScheduler Methods

 

Namespace:   System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromCurrentSynchronizationContext()

Creates a TaskScheduler associated with the current System.Threading.SynchronizationContext.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetScheduledTasks()

For debugger support only, generates an enumerable of Task instances currently queued to the scheduler waiting to be executed.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodQueueTask(Task)

Queues a Task to the scheduler.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodTryDequeue(Task)

Attempts to dequeue a Task that was previously queued to this scheduler.

System_CAPS_protmethodTryExecuteTask(Task)

Attempts to execute the provided Task on this scheduler.

System_CAPS_protmethodTryExecuteTaskInline(Task, Boolean)

Determines whether the provided Task can be executed synchronously in this call, and if it can, executes it.

Return to top
Show: