IMAPITable::Abort

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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

Reference

IMAPITable::GetStatus

IMAPITable::Restrict

IMAPITable::SortTable

IMAPITable : IUnknown