Share via


IDebugExpression2::Abort

This method cancels asynchronous expression evaluation as started by a call to the IDebugExpression2::EvaluateAsync method.

HRESULT Abort(
   void
);
int Abort();

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

When asynchronous expression evaluation is cancelled, do not sent an IDebugExpressionEvaluationCompleteEvent2 event to the event callback passed to the IDebugProgram2::Attach or IDebugEngine2::Attach methods.

See Also

Reference

IDebugExpression2

IDebugExpressionEvaluationCompleteEvent2

IDebugExpression2::EvaluateAsync