Partager via


IDebugAsyncOperation::Abort

Cancels an operation.

Syntax

HRESULT Abort();  

Parameters

This method takes no parameters.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.
E_NOTIMPL The operations cannot be canceled.

Remarks

This method is typically called from within the debugger thread to cancel an unresponsive operation. This method causes the InProgressAbort method on the IDebugSyncOperation object to be called.

See also

IDebugAsyncOperation Interface
IDebugAsyncOperation::Start
IDebugSyncOperation::InProgressAbort