29 run_worker_completed_event_args(
const std::any& result, std::optional<std::reference_wrapper<std::exception>> exception,
bool cancel) : cancel_(
cancel), exception_(exception), result_(result) {}
31 bool cancel()
const {
return cancel_;}
32 void cancel(
bool value) {cancel_ = value;}
38 std::any result()
const {
return result_;}
42 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.h:18
Contains xtd::event_args event args.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17