Feedback

  • Contents
 

IAsyncOperation Interface

This Interface supports an object that represents a currently running or completed asynchronous operation.

Methods

Abort

This method requests an abort of the asynchronous operation. It raises an error if an operation cannot be aborted.

Properties

CanAbort (Get)

This property returns True if an asynchronous operation can be aborted.

Completed (Get)

This property returns True if the asynchronous operation completed, irrespective of whether it completed successfully, was aborted, or was erroneous.

Error (Get)

This property returns an IAsyncError object that represents the error that occurred in the asynchronous operation. NULL is returned if there was no error.

HasProgressInfo (Get)

This property is True if this asynchronous operation can provide progress information.

HasResult (Get)

This property is True if the operation will provide a result. The resulting data can be obtained using the Result property, but only after the operation completed.

Owner (Get)

This property returns the object on which the asynchronous operation is being performed on.

Progress (Get)

This property returns the current progress value.

ProgressFirst (Get)

This property returns the lower bound of the progress range or start value.

ProgressLast (Get)

This property returns the upper bound of the progress range or end value.

Result (Get)

This property returns the result data from the asynchronous operation, if data is available.

Status (Get)

This property returns the status of the operation.