메소드 | 설명 | |
---|---|---|
Abort ( ) : int |
This method cancels asynchronous expression evaluation as started by a call to the IDebugExpression2::EvaluateAsync method. 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. |
|
EvaluateAsync ( enum_EVALFLAGS dwFlags, IDebugEventCallback2 pExprCallback ) : int |
This method evaluates the expression asynchronously. This method should return immediately after it has started the expression evaluation. When the expression is successfully evaluated, an IDebugExpressionEvaluationCompleteEvent2 must be sent to the IDebugEventCallback2 event callback as supplied through IDebugProgram2::Attach or IDebugEngine2::Attach. |
|
EvaluateSync ( enum_EVALFLAGS dwFlags, uint dwTimeout, IDebugEventCallback2 pExprCallback, IDebugProperty2 &ppResult ) : int |
This method evaluates the expression synchronously. For synchronous evaluation, it is not necessary to send an event back to Visual Studio upon completion of the evaluation. |
public EvaluateAsync ( enum_EVALFLAGS dwFlags, IDebugEventCallback2 pExprCallback ) : int | ||
dwFlags | enum_EVALFLAGS | A combination of flags from the EVALFLAGS enumeration that control expression evaluation. |
pExprCallback | IDebugEventCallback2 | This parameter is always a null value. |
리턴 | int |
public EvaluateSync ( enum_EVALFLAGS dwFlags, uint dwTimeout, IDebugEventCallback2 pExprCallback, IDebugProperty2 &ppResult ) : int | ||
dwFlags | enum_EVALFLAGS | A combination of flags from the EVALFLAGS enumeration that control expression evaluation. |
dwTimeout | uint | Maximum time, in milliseconds, to wait before returning from this method. Use INFINITE to wait indefinitely. |
pExprCallback | IDebugEventCallback2 | This parameter is always a null value. |
ppResult | IDebugProperty2 | Returns the IDebugProperty2 object that contains the result of the expression evaluation. |
리턴 | int |