ICLRDataTarget2 介面ICLRDataTarget2 Interface

ICLRDataTarget的子類別,可供資料存取服務層用來操作目標進程中的虛擬記憶體區域。A subclass of ICLRDataTarget that is used by the data access services layer to manipulate virtual memory regions in the target process.

方法Methods

方法Method 描述Description
AllocVirtual 方法AllocVirtual Method 在目標進程的位址空間中配置記憶體。Allocates memory in the address space of the target process.
FreeVirtual 方法FreeVirtual Method 釋出先前在目標進程的位址空間中配置的記憶體。Frees memory that was previously allocated in the address space of the target process.

備註Remarks

API 用戶端 (也就是偵錯工具) 必須針對適合的特定目標處理序實作這個介面。The API client (that is, the debugger) must implement this interface as appropriate for the particular target process. 例如,即時處理序的實作與記憶體傾印的實作不同。For example, a live process would have an implementation different from that of a memory dump. 目標可能不支援修改其記憶體區域。The target may not support modification of its memory regions.

規格需求Requirements

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

標頭: ClrData .idl、ClrData。hHeader: ClrData.idl, ClrData.h

程式庫: CorGuids.libLibrary: CorGuids.lib

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

另請參閱See also