virtual bool CAsyHandler<T>::Abort(ULONG nOperation=DBASYNCHOP_OPEN, HCHAPTER hChapter=DB_NULL_HCHAPTER);

Return Value

        true if successful; otherwise false.

Parameters

        [in] nOperation:

                The operation for which the asynchronous status is requested. This should be DBASYNCHOP_OPEN.

        [in] hChapter:

                The chapter handle for a rowset. If the associated OLEDB object is not rowset, it should be DB_NULL_HCHAPTER.

Remark

       Cancels an asynchronously executing operation. Refers to IDBAsynchStatus::Abort. For how to use it, see the example AsyNotify.

CAsyHandler<T> Class Overview & Class Members