IsCompleted Property

Task.IsCompleted Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets whether this Task has completed.

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

'Declaration
Public ReadOnly Property IsCompleted As Boolean

Property Value

Type: System.Boolean
true if the task has completed; otherwise false.

Implements

IAsyncResult.IsCompleted

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft