مشاركة عبر


بنية ModuleBindInfo

يوفر معلومات مُفصل حول وحدة نمطية المشار إليه و التجميع الذي يحتوي عليه.

typedef struct _ModuleBindInfo {
    DWORD    dwAppDomainId;
    LPCWSTR  lpAssemblyIdentity;
    LPCWSTR  lpModuleName
} ModuleBindInfo;

الأعضاء

العضو

الوصف

dwAppDomainId

A معرّف فريد for the IStream that هو returned بواسطة a يتصل إلى the IHostAssemblyStore::ProvideModule أسلوب من which the مشار إليها وحدة نمطية? هو إلى be تم تحميله.

lpAssemblyIdentity

A معرّف فريد for the تجميع that يحتوي على the مشار إليها وحدة نمطية?.

lpModuleName

The اسم of the مشار إليها وحدة نمطية?.

ملاحظات

ModuleBindInfo هو passed كـ a معلمة إلى IHostAssemblyStore::ProvideModule. The مضيف supplies the معرّف فريد dwAppDomainId إلى the وقت تشغيل اللغة العامة (CLR). بعد a يتصل إلى the IHostAssemblyStore::ProvideAssembly أسلوب إرجاع, the وقت التشغيل uses the معرّف إلى determine whether the المحتويات of the IStream have been mapped. If so, the وقت التشغيل loads the موجود نسخ rather than remapping the stream. The وقت التشغيل also uses this معرّف كـ a بحث المفتاح for streams that are returned من calls إلى the IHostAssemblyStore::ProvideAssembly أسلوب. Therefore, the معرّف must be فريد for وحدة نمطية? requests كـ well كـ for تجميع requests.

المتطلبات

الأنظمة الأساسية: See متطلبات النظام إطار عمل .NET.

**Header:**MSCorEE.idl

**المكتبة:**مُضمن كـ مورد في MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

راجع أيضًا:

المرجع

بنية AssemblyBindInfo

واجهة ICLRAssemblyIdentityManager

واجهة ICLRAssemblyReferenceList

واجهة IHostAssemblyManager

موارد أخرى

استضافة بنيات