ICorDebugAppDomain
更新:2007 年 11 月
提供偵錯應用程式定義域的方法。
interface ICorDebugAppDomain : ICorDebugController {
HRESULT Attach ();
HRESULT EnumerateAssemblies (
[out] IcorDebugAssemblyEnum **ppAssemblies
);
HRESULT EnumerateBreakpoints (
[out] IcorDebugBreakpointEnum **ppBreakpoints
);
HRESULT EnumerateSteppers (
[out] IcorDebugStepperEnum **ppSteppers
);
HRESULT GetID (
[out] unsigned int *pId
);
HRESULT GetModuleFromMetaDataInterface (
[in] IUnknown *pIMetaData,
[out] ICorDebugModule **ppModule
);
HRESULT GetName (
[in] unsigned int cchName,
[out] unsigned int *pcchName,
[out] ICorDebugAppDomain szName
);
HRESULT GetObject (
[out] ICorDebugValue **ppObject
);
HRESULT GetProcess (
[out] IcorDebugProcess **ppProcess
);
HRESULT IsAttached (
[out] long *pbAttached
);
};
方法
方法 |
描述 |
---|---|
將偵錯工具附加至應用程式定義域。 |
|
為應用程式定義域中的組件取得列舉值。 |
|
取得應用程式定義域中所有現用中斷點的列舉值。 |
|
取得應用程式定義域中所有現用 Stepper 的列舉值。 |
|
取得應用程式定義域的唯一 ID。 |
|
取得具有指定之中繼資料介面的 ICorDebugModule 物件。 |
|
取得應用程式定義域的名稱。 |
|
尚未實作。 |
|
取得包含應用程式定義域的處理序。 |
|
判斷偵錯工具是否已附加至應用程式定義域。 |
需求
**平台:**請參閱 .NET Framework 系統需求。
**標頭:**CorDebug.idl
**程式庫:**CorGuids.lib
**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0