Redigera

Dela via


IMAPITable::Abort

Applies to: Outlook 2013 | Outlook 2016

Stops any asynchronous operations currently in progress for the table.

HRESULT Abort( void );

Parameters

None

Return value

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

IMAPITable : IUnknown