Skip to content

ui::ThreadCheckFailure

Header: winui/core/ThreadCheck.hpp.

One wrong-thread call, handed to the thread check handler.

Field Type Default
message std::string The whole report, e.g. "ui::TextControl::set_text called on thread 1234, but the tree belongs to thread 5678 (Text.cpp:41)".
call std::string The offending call, e.g. "ui::TextControl::set_text" or "ui::Property::set".
where std::source_location Where it was made: inside the setter for an element, at the caller for Property::set().
thread std::thread::id The thread that made it.
owner std::thread::id The thread the tree or property belongs to.