ICorDebugRegisterSet::SetThreadContext 方法

.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、CorDebug.h

**库:**CorGuids.lib

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

请参见

参考

ICorDebugRegisterSet 接口

ICorDebugRegisterSet2 接口