Freigeben über


TplExtensions.CanceledTask Field

Definition

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

Applies to