System.Threading.Tasks Namespace

Task Parallel System.Threading

Classes

  ClassDescription
Parallel
Provides support for parallel loops and regions.
ParallelLoopState
Enables iterations of Parallel loops to interact with other iterations.
ParallelOptions
Stores options that configure the operation of methods on the Parallel class.
Task
Represents an asynchronous operation.
Task<(Of <(TResult>)>)
Represents an asynchronous operation that produces a result at some time in the future.
TaskCanceledException
Represents an exception used to communicate task cancellation.
TaskCompletionSource<(Of <(TResult>)>)
Represents the producer side of a Task<(Of <(TResult>)>) unbound to a delegate, providing access to the consumer side through the Task property.
TaskExtensions
Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of Task instances.
TaskFactory
Provides support for creating and scheduling Tasks.
TaskFactory<(Of <(TResult>)>)
Provides support for creating and scheduling Task{TResult} objects.
TaskScheduler
Represents an abstract scheduler for tasks.
TaskSchedulerException
Represents an exception used to communicate an invalid operation by a TaskScheduler.
UnobservedTaskExceptionEventArgs
Provides data for the event that is raised when a faulted Task's exception goes unobserved.

Structures

  StructureDescription
ParallelLoopResult
Provides completion status on the execution of a Parallel loop.

Enumerations

  EnumerationDescription
TaskContinuationOptions
Specifies flags that control optional behavior for the creation and execution of continuation tasks.
TaskCreationOptions
Specifies flags that control optional behavior for the creation and execution of tasks.
TaskStatus
Represents the current stage in the lifecycle of a Task.