Task Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new Task.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| 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, TaskCreationOptions) | Initializes a new Task with the specified action and creation options. |
|
Task(Action(Of Object), Object) | Initializes a new Task with the specified action and state. |
|
Task(Action, CancellationToken, TaskCreationOptions) | Initializes a new Task with the specified action and creation options. |
|
Task(Action(Of Object), Object, CancellationToken) | Initializes a new Task with the specified action, state, and options. |
|
Task(Action(Of Object), Object, TaskCreationOptions) | Initializes a new Task with the specified action, state, and options. |
|
Task(Action(Of Object), Object, CancellationToken, TaskCreationOptions) | Initializes a new Task with the specified action, state, and options. |
Show: