共用方式為


ICorDebugRegisterSet::SetThreadContext 方法

更新:2007 年 11 月

SetThreadContext 未實作於 .NET Framework 2.0 版中。請勿呼叫這個方法。

注意事項:

使用較高層次的作業 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