IMAPITable::Abort

The IMAPITable::Abort method stops any asynchronous operations currently in progress for the table.

Quick Info

See IMAPITable : IUnknown.

HRESULT Abort();

Parameters

None

Return Values

S_OK
One or more asynchronous operations have been stopped.
MAPI_E_UNABLE_TO_ABORT
An asynchronous operation is in progress and cannot be stopped or it has already completed.

Remarks

The IMAPITable::Abort method stops any asynchronous operation that is currently in progress.

Notes to Callers

To find out if an asynchronous operation is in progress, call the IMAPITable::GetStatus method.

If Abort halts the processing of a call to the IMAPITable::Restrict method, the state of the table will be as it was at the time the Abort call is processed.

If Abort halts the processing of a call to the IMAPITable::SortTable method, the table's sort order is unaffected and remains as it was before the SortTable call.

See Also

IMAPITable::GetStatus, IMAPITable::Restrict, IMAPITable::SortTable