Task Constructor (Action<Object>, Object, CancellationToken, TaskCreationOptions)
Initializes a new Task with the specified action, state, and options.
Assembly: mscorlib (in mscorlib.dll)
public Task( Action<Object> action, Object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions )
- Type: System.Object
An object representing data to be used by the action.
- Type: System.Threading.CancellationToken
The that 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.