ICorConfiguration::SetDebuggerThreadControl 方法

设置回调接口,当阻止和取消阻止公共语言运行时 (CLR) 线程以进行调试时,调试服务将调用这些接口。

HRESULT SetDebuggerThreadControl (
    [in] IDebuggerThreadControl* pDebuggerThreadControl
);

参数

  • pDebuggerThreadControl
    [in] 一个指向 IDebuggerThreadControl 对象的指针,该对象将通知宿主有关调试服务阻止和取消阻止线程的信息。

要求

**平台:**请参见 .NET Framework 系统要求

**头文件:**MSCorEE.h

**库:**作为一项资源包含在 MSCorEE.dll 中

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0

请参见

参考

ICorConfiguration 接口