get_IsFaulted()

ResultValueTask::get_IsFaulted() const method

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

bool System::Threading::Tasks::ResultValueTask<T>::get_IsFaulted() const

Return Value

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

Remarks

Returns false if the task contains a direct result value.

See Also