System::Threading::Tasks::ResultValueTask::get_IsFaulted method

ResultValueTask::get_IsFaulted method

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

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

ReturnValue

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

Remarks

Returns false if the task contains a direct result value.

See Also