Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
Defines a transport buffer for runtime assembly information.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.
Syntax
struct DacpAssemblyData : ZeroInit<DacpAssemblyData>
{
CLRDATA_ADDRESS AssemblyPtr; //useful to have
CLRDATA_ADDRESS ClassLoader;
CLRDATA_ADDRESS ParentDomain;
CLRDATA_ADDRESS BaseDomainPtr;
CLRDATA_ADDRESS AssemblySecDesc;
BOOL isDynamic;
UINT ModuleCount;
UINT LoadContext;
BOOL isDomainNeutral;
DWORD dwLocationFlags;
HRESULT Request(ISOSDacInterface *sos, CLRDATA_ADDRESS addr, CLRDATA_ADDRESS baseDomainPtr)
{
return sos->GetAssemblyData(baseDomainPtr, addr, this);
}
HRESULT Request(ISOSDacInterface *sos, CLRDATA_ADDRESS addr)
{
return Request(sos, addr, NULL);
}
};
Members
| Member | Description |
|---|---|
AssemblyPtr |
The address of the assembly. |
ClassLoader |
The address of the class loader for the assembly. |
ParentDomain |
The address of the parent application domain. |
BaseDomainPtr |
The address of the base domain that contains the assembly. |
AssemblySecDesc |
The address of the assembly security descriptor. |
isDynamic |
A value that indicates whether the assembly is dynamic. |
ModuleCount |
The number of modules in the assembly. |
LoadContext |
The assembly load context value. |
isDomainNeutral |
A value that indicates whether the assembly is domain-neutral. |
dwLocationFlags |
A bitmask of location flags for the assembly. |
Request |
Populates the structure by calling ISOSDacInterface::GetAssemblyData. |
Remarks
This structure lives inside the runtime and is not exposed through any headers or library files. To use it, define the structure as specified above.
Requirements
Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7