AssemblyResolve Event
Collapse the table of content
Expand the table of content

_AppDomain.AssemblyResolve Event

Occurs when the resolution of an assembly fails.

[Visual Basic]
Event AssemblyResolve As ResolveEventHandler
event ResolveEventHandler AssemblyResolve;
__event ResolveEventHandler* AssemblyResolve;

[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.


It is the responsibility of ResolveEventHandler for this event to return the assembly that resolves the type, assembly, or resource.

For more information about handling events, see Consuming Events.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

_AppDomain Interface | _AppDomain Members | System Namespace

© 2016 Microsoft