3#ifndef _iasyncresult_h_
4#define _iasyncresult_h_
6#include "system/object.h"
7#include "system/threading/wait_handle.h"
Represents the status of asynchronous operation. Objects of this class should only be allocated using...
Definition: iasyncresult.h:15
virtual SharedPtr< System::Object > get_AsyncState()=0
Returns an object that contains the information about asyrchronous operation.
virtual SharedPtr< System::Threading::WaitHandle > get_AsyncWaitHandle()=0
Returns an instance of WaitHandle that can be used to wait for the completion of the asynchronous ope...
virtual bool get_CompletedSynchronously()=0
Returns a value that indicates whether the asynchronous operation completed synchronously.
virtual ~IAsyncResult()
Destructor.
Definition: iasyncresult.h:35
SharedPtr< IAsyncResult > smart_ptr
Shared pointer to IAsyncResult.
Definition: iasyncresult.h:20
virtual bool get_IsCompleted()=0
Returns a value that indicates whether the asynchronous operation has completed.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
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
SharedPtr< IAsyncResult > IAsyncResultPtr
Shared pointer to IAsyncResult.
Definition: iasyncresult.h:39