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
)
JScript supports the use of delegates, but not the declaration of new ones.

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

Show:
© 2014 Microsoft