EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

IAsyncResult.IsCompleted Property

May 11, 2014

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

Afficher:
© 2014 Microsoft