AppDomain.ResourceResolve Event
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Event ResourceResolve As ResolveEventHandler 'Usage Dim instance As AppDomain Dim handler As ResolveEventHandler AddHandler instance.ResourceResolve, handler
/** @event */ public final void add_ResourceResolve (ResolveEventHandler value) /** @event */ public final void remove_ResourceResolve (ResolveEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
The ResolveEventHandler for this event can attempt to locate the resource and load it.
Important: |
|---|
| This event is not raised if resolution fails because no file can be found for a valid linked resource. |
To register an event handler for this event, you must have the required permissions, or a SecurityException is thrown.
For more information about handling events, see Consuming Events.
- SecurityPermission to add an event handler for this event. Associated enumeration: SecurityPermissionFlag.ControlAppDomain.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Important: