ICorDebugAssembly3::GetContainerAssembly 方法

返回此 ICorDebugAssembly3 对象的容器程序集。

Syntax

HRESULT GetContainerAssembly(
    ICorDebugAssembly **ppAssembly
);

参数

ppAssembly 指向表示容器程序集的 ICorDebugAssembly 对象的地址的指针,如果方法调用失败,则为 null

返回值

S_OK如果方法调用成功,则为否则为 S_FALSEppAssemblynull

注解

如果此程序集已与单个容器程序集内的其他人合并,此方法将返回容器程序集。 有关详细信息和术语,请参阅 ICorDebugProcess6::EnableVirtualModuleSplitting 主题。

注释

此方法仅适用于 .NET Native。

要求

平台: 请参阅 .NET 支持的作系统

页眉: CorDebug.idl、CorDebug.h

图书馆: CorGuids.lib

.NET 版本: 自 .NET Framework 4.6 起可用

另请参阅