Assembly: mscorlib (in mscorlib.dll)
[SerializableAttribute] [ComVisibleAttribute(true)] public delegate Assembly ResolveEventHandler( Object sender, ResolveEventArgs args )
- Type: System.Object
The source of the event.
- Type: System.ResolveEventArgs
The event data.
Return ValueType: System.Reflection.Assembly
The assembly that resolves the type, assembly, or resource; or null if the assembly cannot be resolved.
If the runtime class loader cannot resolve a reference to an assembly, type, or resource, 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 to return the assembly that resolves the type, assembly, or resource, or to return null if the assembly is not recognized. For more information, see Resolving Assembly Loads and the AppDomain.ResourceResolve, AppDomain.AssemblyResolve, and AppDomain.ReflectionOnlyAssemblyResolve events.
Beginning with the .NET Framework version 4, the event is raised for all assemblies, including resource assemblies. In earlier versions, the event was not raised for resource assemblies. If the operating system is localized, the handler might be called multiple times: once for each culture in the fallback chain.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.