Task.IsCompletedSuccessfully Property

Definition

Gets whether the task ran to completion.

public bool IsCompletedSuccessfully { get; }

Property Value

true if the task ran to completion; otherwise false.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1