TplExtensions.CanceledTask Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use Task.FromCanceled instead.
A task that is already canceled.
public: static initonly System::Threading::Tasks::Task ^ CanceledTask;
public static readonly System.Threading.Tasks.Task CanceledTask;
[System.Obsolete("Use Task.FromCanceled instead.")]
public static readonly System.Threading.Tasks.Task CanceledTask;
staticval mutable CanceledTask : System.Threading.Tasks.Task
[<System.Obsolete("Use Task.FromCanceled instead.")>]
staticval mutable CanceledTask : System.Threading.Tasks.Task
Public ReadOnly CanceledTask As Task
Field Value
- Attributes