_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.
Provides COM objects with version-independent access to the ModuleResolve event.
public:
event System::Reflection::ModuleResolveEventHandler ^ ModuleResolve;
event System.Reflection.ModuleResolveEventHandler ModuleResolve;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
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
Event ModuleResolve As ModuleResolveEventHandler
Event Type
- Attributes
Remarks
This method is for access to managed classes from unmanaged code, and should not be called from managed code.
The ModuleResolve event occurs when the common language runtime class loader cannot resolve a reference to an internal module of an assembly through normal means.