Compartilhar via


IDebugExpressionEvaluationCompleteEvent2

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 interface is sent by the debug engine (DE) to the session debug manager (SDM) when asynchronous expression evaluation is complete.

Syntax

IDebugExpressionEvaluationCompleteEvent2 : IUnknown  

Notes for Implementers

The DE implements this interface to report completion of an expression evaluation started by a call to EvaluateAsync. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses QueryInterface to access the IDebugEvent2 interface.

Notes for Callers

The DE creates and sends this event object to report the completion of an expression evaluation. The event is sent by using the IDebugEventCallback2 callback function that is supplied by the SDM when it attached to the program being debugged.

Methods in Vtable Order

The following table shows the methods of IDebugExpressionEvaluationCompleteEvent2.

Method Description
GetExpression Gets the original expression.
GetResult Gets the result of expression evaluation.

Remarks

The DE must send this event, whether the evaluation was successful or not.

If the evaluation was not successful, the DEBUG_PROPINFO_VALUE and DEBUG_PROPINFO_ATTRIB flags will not be set in the DEBUG_PROPERTY_INFO structure that is returned by GetPropertyInfo (the IDebugProperty2 object is created by the DE and returned in the IDebugExpressionEvaluationCompleteEvent2 event if the evaluation failed).

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

IDebugEvent2
IDebugEventCallback2
EvaluateAsync
IDebugProperty2