Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Property

IsCompleted

val IsCompleted: bool

Declaring type: Task<T>
Module: System.Concurrency.Tasks
Assembly: System.Runtime.dll
Source file: Tasks.rvn

Gets whether the task has reached either terminal state.

Property value

Boolean

Remarks

True for both successful completion and cancellation. Inspect State or Outcome to distinguish them.