Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 Assembly ResolveEventHandler (
	Object sender,
	ResolveEventArgs args
)
/** @delegate */
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public delegate Assembly ResolveEventHandler (
	Object sender, 
	ResolveEventArgs args
)
Not applicable.

Parameters

sender

The source of the event.

args

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft