ModuleBindInfo Structure
Provides detailed information about the referenced module and the assembly that contains it.
typedef struct _ModuleBindInfo {
DWORD dwAppDomainId;
LPCWSTR lpAssemblyIdentity;
LPCWSTR lpModuleName
} ModuleBindInfo;
Members
Member |
Description |
---|---|
dwAppDomainId |
A unique identifier for the IStream that is returned by a call to the IHostAssemblyStore::ProvideModule method from which the referenced module is to be loaded. |
lpAssemblyIdentity |
A unique identifier for the assembly that contains the referenced module. |
lpModuleName |
The name of the referenced module. |
Remarks
ModuleBindInfo is passed as a parameter to IHostAssemblyStore::ProvideModule. The host supplies the unique identifier dwAppDomainId to the common language runtime (CLR). After a call to the IHostAssemblyStore::ProvideAssembly method returns, the runtime uses the identifier to determine whether the contents of the IStream have been mapped. If so, the runtime loads the existing copy rather than remapping the stream. The runtime also uses this identifier as a lookup key for streams that are returned from calls to the IHostAssemblyStore::ProvideAssembly method. Therefore, the identifier must be unique for module requests as well as for assembly requests.
Requirements
Platforms: See .NET Framework System Requirements.
Header: MSCorEE.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0
See Also
Reference
ICLRAssemblyIdentityManager Interface
ICLRAssemblyReferenceList Interface
IHostAssemblyManager Interface