TaskAwaiter.IsCompleted Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the asynchronous task has completed.
This API supports the product infrastructure and is not intended to be used directly from your code.
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 has completed; otherwise, false
.
Exceptions
The TaskAwaiter object was not properly initialized.
Remarks
This type and its members are intended for use by the compiler.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.