C # in a Nutshell, Second Edition

ResolveEventHandler serializable

System (mscorlib.dll) delegate

This delegate defines the event handler that can be created to respond to AppDomain.TypeResolve , AppDomain.ResourceResolve , and AppDomain.AssemblyResolve events. These events are raised when the runtime cannot find a type, assembly, or resource. Use this delegate to catch that event, then find and return the assembly that contains the missing type, resource, or assembly.

public delegate Assembly ResolveEventHandler (object sender , ResolveEventArgs args );

Associated Events

AppDomain.{AssemblyResolve( ) , ResourceResolve( ) , TypeResolve( )}

Категории