Task Constructor (Action, CancellationToken, TaskCreationOptions)
Initializes a new Task with the specified action and creation options.
Assembly: mscorlib (in mscorlib.dll)
public Task( Action action, CancellationToken cancellationToken, TaskCreationOptions creationOptions )
- Type: System.Action
The delegate that represents the code to execute in the task.
- Type: System.Threading.CancellationToken
The that the new task will observe.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.