DkmThread.CanBeginFuncEvalExecution(DkmFuncEvalFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
CanBeginFuncEvalExecution can be called to understand if the current state of the process allows for function evaluations. This will return false, for example, if the base DM has called StoppingEventProcessingBegin, but not StoppingEventProcessingContinue.
Location constraint: API must be called from a Monitor component (component level < 100,000).
This API was introduced in Visual Studio 16 Update 5 (DkmApiVersion.VS16Update5).
public:
bool CanBeginFuncEvalExecution(Microsoft::VisualStudio::Debugger::Evaluation::DkmFuncEvalFlags Flags);
public bool CanBeginFuncEvalExecution (Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags Flags);
member this.CanBeginFuncEvalExecution : Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags -> bool
Public Function CanBeginFuncEvalExecution (Flags As DkmFuncEvalFlags) As Boolean
Parameters
- Flags
- DkmFuncEvalFlags
[In] Flags impacting how function evaluation requests are performed.
Returns
[Out] Returns true if the stopping event manager will allow function evaluations from the current debugger thread to the specified DkmThread with the specified flags.