IsCompleted Property

Task Parallel System.Threading

Gets whether this Task has completed.

Namespace:  System.Threading.Tasks
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property IsCompleted As Boolean
C#
public bool IsCompleted { get; }

Implements

IAsyncResult..::.IsCompleted

Remarks

IsCompleted will return true when the Task is in one of the three final states: RanToCompletion, Faulted, or Canceled.

See Also