TaskFactory<TResult>::CancellationToken Property
.NET Framework (current version)
Gets the default cancellation token for this task factory.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Threading::CancellationTokenThe default cancellation token for this task factory.
This property returns the default cancellation token that will be assigned to all tasks created by this factory unless another cancellation token value is explicitly specified during the call to the task factory methods.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 5.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 5.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: