Compartilhar via


task::is_done Method (Concurrency Runtime)

Determines if the task is completed.

bool is_done() const;

Return Value

True if the task has completed, false otherwise.

Remarks

The function returns true if the task is completed or canceled (with or without user exception).

Requirements

Header: ppltasks.h

Namespace: concurrency

See Also

Reference

task Class (Concurrency Runtime)