Provides data for the environment program exit event. This class cannot be inherited.
Definition: program_exit_event_args.h:16
program_exit_event_args(xtd::exit_mode exit_mode)
Initializes a new instance of the program_exit_event_args class.
Definition: program_exit_event_args.h:26
program_exit_event_args()=default
Initializes a new instance of the program_exit_event_args class.
exit_mode
Specifies exit mode for the xtd::environment::program_exit event.
Definition: exit_mode.h:18
Contains xtd::event_args event args.
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::exit_mode enum class.
Represent the exit mode when the terminates normally (via xtd::environment::exit or returning from th...
xtd::exit_mode exit_mode() const noexcept
Gets the exit mode.
Definition: program_exit_event_args.h:39