ICorDebugRegisterSet::SetThreadContext 方法

更新:2007 年 11 月

.NET Framework 2.0 版中未实现 SetThreadContext。请勿调用此方法。

说明:

使用较高级别的操作 ICorDebugNativeFrame::SetIP 来设置线程的上下文。

HRESULT SetThreadContext (
    [in] ULONG32 contextSize,
    [in, length_is(contextSize),
         size_is(contextSize)] BYTE context[]
);

要求

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

**头文件:**CorDebug.idl

**库:**CorGuids.lib

**.NET Framework 版本:**1.1、1.0

请参见

参考

ICorDebugRegisterSet

ICorDebugRegisterSet2