ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.IsCompleted Property

Definition

Gets a value that specifies whether the task being awaited is completed.

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 being awaited is completed; otherwise, false.

Exceptions

The awaiter was not properly initialized.

Remarks

This property is intended for compiler use; do not use it directly in your code.

Applies to