This documentation is archived and is not being maintained.
Assembly.ModuleResolve Event
.NET Framework 1.1
Occurs when the common language runtime class loader cannot resolve a reference to an internal module of an assembly through normal means.
[Visual Basic] Public Event ModuleResolve As ModuleResolveEventHandler [C#] public event ModuleResolveEventHandler ModuleResolve; [C++] public: __event ModuleResolveEventHandler* ModuleResolve;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
Event Data
The event handler receives an argument of type ResolveEventArgs containing data related to this event.
Remarks
This event gives the callback a chance to find and load the module itself and return it.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- SecurityPermission to create and manipulate an application domain. Associated enumeration: SecurityPermissionFlag.ControlAppDomain.
See Also
Assembly Class | Assembly Members | System.Reflection Namespace
Show: