Edit

Share via


TaskAwaiter.IsCompleted Property

Definition

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

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool IsCompleted { bool get(); };
public bool IsCompleted { get; }
member this.IsCompleted : bool
Public ReadOnly Property IsCompleted As Boolean

Property Value

true if the task has completed; otherwise, false.

Exceptions

The TaskAwaiter object was not properly initialized.

Remarks

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

Applies to