Task.IsCompletedSuccessfully - YAY! (and hmmm)

added by DotNetKicks
4/2/2019 3:27:46 PM

2 Kicks, 394 Views

So, apparently I missed something along the way. Task in C# has an "IsCompletedSuccessfully" property (in some environments). This has been around since .NET Core 2.0, and it is in the current 2.2 release (and the 3.0 preview). The reason I love the idea of "IsCompletedSuccessfully" is that "IsCompleted" does not mean what you think it means.


0 comments