Share via


AssemblyBindInfo Structure

Provides detailed information about the referenced assembly.

typedef struct _AssemblyBindInfo {
    DWORD       dwAppDomainId;
    LPCWSTR     lpReferencedIdentity;
    LPCWSTR     lpPostPolicyIdentity;
    DWORD       ePolicyLevel;
} AssemblyBindInfo;

Members

Member

Description

dwAppDomainId

A unique identifier for the IStream returned by a call to IHostAssemblyStore::ProvideAssembly, from which the referenced assembly is to be loaded.

lpReferencedIdentity

A unique identifier for the referenced assembly.

lpPostPolicyIdentity

The identifier for the referenced assembly after the application of any binding policy values.

ePolicyLevel

One of the EPolicyAction values that indicate which versioning policies, if any, should be applied to the referenced assembly.

Remarks

The host supplies the unique identifier dwAppDomainId to the common language runtime (CLR). After a call to IHostAssemblyStore::ProvideAssembly 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 returned from calls to IHostAssemblyStore::ProvideModule. Therefore, the identifier must be unique for module requests and for assembly requests.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

Hosting Structures

ICLRAssemblyIdentityManager Interface

ICLRAssemblyReferenceList Interface

IHostAssemblyManager Interface

IHostAssemblyStore Interface

ModuleBindInfo Structure