ICorDebugAppDomain 介面ICorDebugAppDomain Interface

提供偵錯應用程式定義域的方法。Provides methods for debugging application domains. 此介面是 ICorDebugController 的子類別。This interface is a subclass of ICorDebugController.

方法Methods

方法Method 描述Description
Attach 方法Attach Method 將偵錯工具附加至應用程式域。Attaches the debugger to the application domain.
EnumerateAssemblies 方法EnumerateAssemblies Method 取得應用程式域中元件的列舉值。Gets an enumerator for the assemblies in the application domain.
EnumerateBreakpoints 方法EnumerateBreakpoints Method 取得應用程式域中所有作用中中斷點的列舉值。Gets an enumerator for all active breakpoints in the application domain.
EnumerateSteppers 方法EnumerateSteppers Method 取得應用程式域中所有使用中 steppers 的列舉值。Gets an enumerator for all active steppers in the application domain.
GetId 方法GetId Method 取得應用程式域的唯一識別碼。Gets the unique ID of the application domain.
GetModuleFromMetaDataInterface 方法GetModuleFromMetaDataInterface Method 取得具有指定中繼資料介面的 ICorDebugModule 物件。Gets the ICorDebugModule object with the given metadata interface.
GetName 方法GetName Method 取得應用程式域的名稱。Gets the name of the application domain.
GetObject 方法GetObject Method 取得 common language runtime (CLR) 應用程式域的介面指標。Gets an interface pointer to the common language runtime (CLR) application domain.
GetProcess 方法GetProcess Method 取得包含應用程式域的進程。Gets the process containing the application domain.
IsAttached 方法IsAttached Method 判斷偵錯工具是否已附加至應用程式域。Determines whether the debugger is attached to the application domain.

備註Remarks

注意

這個介面不支援跨電腦或跨處理序的遠端呼叫。This interface does not support being called remotely, either cross-machine or cross-process.

規格需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 1.0 起可用Available since 1.0.NET Framework Versions: 自 1.0 起可用Available since 1.0

另請參閱See also