xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::forms::run_worker_completed_event_args Class Reference

Provides data for the do_work event handler. More...

#include <run_worker_completed_event_args.h>

Inheritance diagram for xtd::forms::run_worker_completed_event_args:

Public Member Functions

 run_worker_completed_event_args (const std::any &result, std::optional< std::reference_wrapper< std::exception >> exception, bool cancel)
 Initializes a new instance of the DoWorkEventArgs class. More...
bool cancel () const
void cancel (bool value)
std::any result () const
std::any user_state () const
 Gets a value that represents the argument of an asynchronous operation. More...

Static Public Attributes

static const event_args empty
 Provides a value to use with events that do not have event data. More...

Detailed Description

Provides data for the do_work event handler.

The documentation for this class was generated from the following file: