System::IAsyncResult class

IAsyncResult class

Represents the status of asynchronous operation. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class IAsyncResult : public virtual System::Object

Methods

MethodDescription
virtual get_AsyncState()Returns an object that contains the information about asyrchronous operation.
virtual get_AsyncWaitHandle()Returns an instance of WaitHandle that can be used to wait for the completion of the asynchronous operation.
virtual get_CompletedSynchronously()Returns a value that indicates whether the asynchronous operation completed synchronously.
virtual get_IsCompleted()Returns a value that indicates whether the asynchronous operation has completed.
virtual ~IAsyncResult()Destructor.

Typedefs

TypedefDescription
smart_ptrShared pointer to IAsyncResult.

See Also