Assembly.ModuleResolve Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the common language runtime class loader cannot resolve a reference to an internal module of an assembly through normal means.
public:
virtual event System::Reflection::ModuleResolveEventHandler ^ ModuleResolve;
public virtual event System.Reflection.ModuleResolveEventHandler? ModuleResolve;
public virtual event System.Reflection.ModuleResolveEventHandler ModuleResolve;
public event System.Reflection.ModuleResolveEventHandler ModuleResolve;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public virtual event System.Reflection.ModuleResolveEventHandler ModuleResolve;
member this.ModuleResolve : System.Reflection.ModuleResolveEventHandler
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.ModuleResolve : System.Reflection.ModuleResolveEventHandler
Public Overridable Custom Event ModuleResolve As ModuleResolveEventHandler
Public Custom Event ModuleResolve As ModuleResolveEventHandler
Event Type
Implements
- Attributes
Remarks
This event gives the callback a chance to find and load the module itself and return it.
Applies to
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.