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..::.IsCompletedRemarks
IsCompleted will return true when the Task is in one of the three
final states: RanToCompletion,
Faulted, or
Canceled.