TaskCanceledException Constructor (Task)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the TaskCanceledException class with a reference to the Task that has been canceled.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- task
- Type: System.Threading.Tasks.Task
A task that has been canceled.
Show: