xtd 0.2.0
Loading...
Searching...
No Matches
thread_exception_event_args.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.hpp"
6#include <xtd/exception>
7#include <xtd/event_args>
8
10namespace xtd {
12 namespace threading {
25 public:
27
31 thread_exception_event_args(const std::exception& exception);
33
35
39 const std::exception& exception() const noexcept;
41
42 private:
43 const std::exception* exception_ = nullptr;
44 };
45 }
46}
event_args()=default
Initializes a new instance of the event_args class.
const std::exception & exception() const noexcept
Gets the std::exception that occurred.
thread_exception_event_args(const std::exception &exception)
Initializes a new instance of the xtd::forms::thread_exception_event_args class.
Contains forms_export_ keyword.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
The xtd::threading namespace provides classes and interfaces that enable multithreaded programming....
Definition abandoned_mutex_exception.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8