IAsyncResult.IsCompleted Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
ReadOnly Property IsCompleted As Boolean
bool IsCompleted { get; }

Property Value

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

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.