Bewerken

Share via


ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter.IsCompleted Property

Definition

Gets a value that specifies whether the task being awaited has been 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 has been 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