get_IsFaulted()

ValueTask::get_IsFaulted() const method

Gets a value indicating whether the task completed due to an unhandled exception.

bool System::Threading::Tasks::ValueTask::get_IsFaulted() const

Return Value

bool True if the task is faulted; otherwise, false.

See Also