Task Constructor
.NET Framework (current version)
Initializes a new Task.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Task(Action) | Initializes a new Task with the specified action. |
![]() | Task(Action, CancellationToken) | Initializes a new Task with the specified action and CancellationToken. |
![]() | Task(Action, CancellationToken, TaskCreationOptions) | Initializes a new Task with the specified action and creation options. |
![]() | Task(Action, TaskCreationOptions) | Initializes a new Task with the specified action and creation options. |
![]() | Task(Action<Object>, Object) | Initializes a new Task with the specified action and state. |
![]() | Task(Action<Object>, Object, CancellationToken) | Initializes a new Task with the specified action, state, and options. |
![]() | Task(Action<Object>, Object, CancellationToken, TaskCreationOptions) | Initializes a new Task with the specified action, state, and options. |
![]() | Task(Action<Object>, Object, TaskCreationOptions) | Initializes a new Task with the specified action, state, and options. |
Show:
