Sdílet prostřednictvím


DkmClrRuntimeInstance.CanDoFuncEval(DkmThread) Method

Definition

Checks if the given thread is in a state in which the CLR supports managed func-evals.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 int CanDoFuncEval(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread);
public int CanDoFuncEval (Microsoft.VisualStudio.Debugger.DkmThread Thread);
member this.CanDoFuncEval : Microsoft.VisualStudio.Debugger.DkmThread -> int
Public Function CanDoFuncEval (Thread As DkmThread) As Integer

Parameters

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.

Applies to