Debugger4.GetExpression3 Method
Evaluates an expression, similar to GetExpression(String, Boolean, Boolean, Int32). However, this method allows the caller to specify the stack frame that the evaluation will occur on. It also allows the caller to specify whether automatic evaluation of properties and implicit function calls should occur.
Assembly: EnvDTE90a (in EnvDTE90a.dll)
Expression GetExpression3( string ExpressionText, StackFrame StackFrame, bool UseAutoExpandRules, bool TreatAsStatement, bool AllowAutoFuncEval, int Timeout )
Parameters
- ExpressionText
- Type: System.String
The expression text to be evaluated.
- StackFrame
- Type: EnvDTE.StackFrame
The stack frame where the expression is to be evaluated. This stack frame can be in any thread of any process that is currently being debugged, if and only if the process is in break mode.
- UseAutoExpandRules
- Type: System.Boolean
true if the auto-expand rules should be used; otherwise, false.
- TreatAsStatement
- Type: System.Boolean
true if the expression text should be treated as a single statement; otherwise, false.
- AllowAutoFuncEval
- Type: System.Boolean
true if automatic evaluation of properties and implicit function calls should be performed; otherwise, false.
- Timeout
- Type: System.Int32
The timeout period in milliseconds.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.