Export (0) Print
Expand All

_AppDomain.AssemblyResolve Event

Occurs when the resolution of an assembly fails.

[Visual Basic]
Event AssemblyResolve As ResolveEventHandler
[C#]
event ResolveEventHandler AssemblyResolve;
[C++]
__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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft