CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
run_worker_completed_event_args.h
1
2#ifndef __run_worker_completed_event_args_h__
3#define __run_worker_completed_event_args_h__
4
5#include <system/exceptions.h>
6#include <system/component_model/async_completed_event_args.h>
7
8namespace System { namespace ComponentModel {
9
14 class ASPOSECPP_SHARED_CLASS RunWorkerCompletedEventArgs : public AsyncCompletedEventArgs
15 {
21 RTTI_INFO(System::ComponentModel::RunWorkerCompletedEventArgs, ::System::BaseTypesInfo<System::ComponentModel::AsyncCompletedEventArgs>);
22
23 public:
28 ASPOSECPP_SHARED_API RunWorkerCompletedEventArgs(const System::SharedPtr<System::Object>& result, const System::Exception &error, bool canceled);
29
32 ASPOSECPP_SHARED_API System::SharedPtr<System::Object> get_Result() const;
33
34 private:
36 };
37
38}}
39
40#endif
An instance of this class is passed as the argument on to the AsyncCompletedEventHandler delegate....
Definition: async_completed_event_args.h:13
An instance of this class is passed as the argument to the RunWorkerCompletedEventHandler delegate....
Definition: run_worker_completed_event_args.h:15
System::SharedPtr< System::Object > get_Result() const
Gets a value that represents the result of an asynchronous operation.
RunWorkerCompletedEventArgs(const System::SharedPtr< System::Object > &result, const System::Exception &error, bool canceled)
Constructor.
The base class for classes that represent a context that is passed to the event subscribers when an e...
Definition: eventargs.h:19
Template that represents wrapper of exceptions that are derived from Exception class.
Definition: exception.h:113
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9