Export (0) Print
Expand All

AppDomain.ResourceResolve Event

Occurs when the resolution of a resource fails.

[Visual Basic]
Public Overridable Event ResourceResolve As ResolveEventHandler
[C#]
public virtual event ResolveEventHandler ResourceResolve;
[C++]
public: virtual __event ResolveEventHandler* ResourceResolve;

[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. The following ResolveEventArgs property provides information specific to this event.

Property Description
Name Gets the name of the item to resolve.

Remarks

The ResolveEventHandler for this event can attempt to locate the resource and load it.

To register an event handler for this event, you must have the permissions described in the Permissions section. If you do not have the appropriate permissions, a SecurityException occurs.

For more information about handling events, see Consuming Events.

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: 

See Also

AppDomain Class | AppDomain Members | System Namespace

Show:
© 2014 Microsoft