Task::CompletedTask Property
.NET Framework (current version)
Gets a task that has already completed successfully.
Assembly: mscorlib (in mscorlib.dll)
This property returns a task whose Status property is set to TaskStatus::RanToCompletion. To create task that returns a value and runs to completion, call the FromResult<TResult> method.
Repeated attempts to retrieve this property value may not always return the same instance.
Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Available since 10
.NET Framework
Available since 4.6
Show: