Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Task Constructor

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.

  NameDescription
Public method Task(Action) Initializes a new Task with the specified action.
Public method Task(Action, CancellationToken) Initializes a new Task with the specified action and CancellationToken.
Public method Task(Action, TaskCreationOptions) Initializes a new Task with the specified action and creation options.
Public method Task(Action<Object>, Object) Initializes a new Task with the specified action and state.
Public method Task(Action, CancellationToken, TaskCreationOptions) Initializes a new Task with the specified action and creation options.
Public method Task(Action<Object>, Object, CancellationToken) Initializes a new Task with the specified action, state, and options.
Public method Task(Action<Object>, Object, TaskCreationOptions) Initializes a new Task with the specified action, state, and options.
Public method Task(Action<Object>, Object, CancellationToken, TaskCreationOptions) Initializes a new Task with the specified action, state, and options.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.