ResolveEventHandler Delegate

Represents the method that handles the TypeResolve, ResourceResolve, and AssemblyResolve events of an AppDomain.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public Delegate Function ResolveEventHandler ( _
	sender As Object, _
	args As ResolveEventArgs _
) As Assembly
Dim instance As New ResolveEventHandler(AddressOf HandlerMethod)
/** @delegate */
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public delegate Assembly ResolveEventHandler (
	Object sender, 
	ResolveEventArgs args
Not applicable.



The source of the event.


A ResolveEventArgs that contains the event data.

Return Value

The Assembly that resolves the type, assembly, or resource.

If the runtime class loader cannot resolve a reference to an assembly, type, or resource, then the corresponding events are raised to give the callback a chance to tell the runtime which assembly the referenced assembly, type, or resource is in. It is the responsibility of the ResolveEventHandler to return the assembly that resolves the type, assembly, or resource.

Every derived class of Delegate and MulticastDelegate has a constructor and an Invoke method. See the C++ code example in the description for the Delegate class.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions