This delegate is used to handle the OnTypeResolveEvent and OnResourceResolveEvent events on Assembly. If the runtime class loader cannot resolve a reference to a type or a resource through normal means, these events are raised to give the caller a chance to tell the runtime which assembly the referenced class or resource is in. Cast EventArgs to a String to find the name of the requested Type or resource.
[Visual Basic] Public Delegate Sub ResolveEventHandler( _ ByVal sender As Object, _ ByVal e As EventArgs _ ) As Assembly [C#] public delegate Assembly ResolveEventHandler( object sender, EventArgs e ); [C++] public __gc __delegate Assembly* ResolveEventHandler( Object* sender, EventArgs* e );
[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.
The declaration of your event-handling method must have the same parameters as the ResolveEventHandler delegate declaration.
Every subclass of Delegate and MulticastDelegate has a constructor and an Invoke method. See the Managed C++ code example given in the description for the Delegate.
Namespace: System.Reflection
Assembly: mscorlib.dll