This documentation is archived and is not being maintained.

IAsyncResult.IsCompleted Property

Gets an indication whether the asynchronous operation has completed.

[Visual Basic]
ReadOnly Property IsCompleted As Boolean
bool IsCompleted {get;}
__property bool get_IsCompleted();
function get IsCompleted() : Boolean;

Property Value

true if the operation is complete; otherwise, false.


You can assume it is safe to discard any resources you allocate for use by the asynchronous operation when this property is true.

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 (as opposed to waiting on a synchronization object), use this property to determine the status of the operation.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

IAsyncResult Interface | IAsyncResult Members | System Namespace