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

IAsyncResult.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 operation has completed.

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

bool IsCompleted { get; }

Property Value

Type: System.Boolean
true if the operation is complete; otherwise, false.

When this property is true, you can assume that it is safe to discard any resources you allocated for use by the asynchronous operation.

Notes to Implementers

Implementers will typically return the value of a private field or internal test as the value of this property.

Notes to Callers

Clients that poll for operation status (instead of waiting on a synchronization object) use this property to determine the status of the operation.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft