Export (0) Print
Expand All

TaskCanceledException Constructor (Task)

Initializes a new instance of the TaskCanceledException class with a reference to the Task that has been canceled.

Namespace:  System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

public TaskCanceledException(
	Task task
)

Parameters

task
Type: System.Threading.Tasks.Task
A task that has been canceled.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft