次の方法で共有


IMAPITable::Abort

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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