IsCompleted Property
Collapse the table of content
Expand the table of content

TaskAwaiter<TResult>.IsCompleted Property

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

Gets a value that indicates whether the asynchronous task has completed.

Namespace:  System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public bool IsCompleted { get; }

Property Value

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

ExceptionCondition
NullReferenceException

The TaskAwaiter<TResult> object was not properly initialized.

This type and its members are intended for use by the compiler.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft