Share via


IDebugExpression2::Abort

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

Syntax

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 Attach or Attach methods.

See Also

IDebugExpression2
IDebugExpressionEvaluationCompleteEvent2
EvaluateAsync