6#include <xtd/event_args>
42 bool cancel() const noexcept {
return cancel_;}
43 void cancel(
bool value) {cancel_ = value;}
47 std::any
user_state() const noexcept {
return user_state_;}
49 std::any result() const noexcept {
return result_;}
54 std::optional<std::reference_wrapper<std::exception>> exception_;
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Defines the base class for predefined exceptions in the xtd namespace.
Definition exception.hpp:28
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10