IDkmManagedFuncEvalServices.CanDoFuncEval 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.
Checks if the given thread is in a state in which the CLR supports managed func-evals.
public:
int CanDoFuncEval(Microsoft::VisualStudio::Debugger::Clr::DkmClrRuntimeInstance ^ clrRuntimeInstance, Microsoft::VisualStudio::Debugger::DkmThread ^ thread);
public int CanDoFuncEval (Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance clrRuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread thread);
abstract member CanDoFuncEval : Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmThread -> int
Public Function CanDoFuncEval (clrRuntimeInstance As DkmClrRuntimeInstance, thread As DkmThread) As Integer
Parameters
- clrRuntimeInstance
- DkmClrRuntimeInstance
[In] Represents a CLR instance running in a target process.
- thread
- DkmThread
[In] DkmThread represents a thread running in the target process.
Returns
[Out] The result of doing the function evaluation. S_OK if all went well. Other possible values include E_EVAL_FUNCEVAL_IN_MINIDUMP or S_EVAL_BAD_THREAD_STATE.