ICorDebugAppDomain::GetId 方法ICorDebugAppDomain::GetId Method

获取应用程序域的唯一标识符。Gets the unique identifier of the application domain.

语法Syntax

HRESULT GetID (  
    [out] ULONG32   *pId  
);  

参数Parameters

pId
弄应用程序域的唯一标识符。[out] The unique identifier of the application domain.

备注Remarks

应用程序域的标识符在包含进程中是唯一的。The identifier for the application domain is unique within the containing 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