public delegate void AssemblyLoadEventHandler(object sender, AssemblyLoadEventArgs args);
Object
Delegate
AssemblyLoadEventHandlerThis type implements ICloneable.
mscorlib
RuntimeInfrastructure
Defines the methods that are called in response to System.AppDomain.AssemblyLoad events.
- sender
- The AppDomain that is the source of the event.
- args
- A AssemblyLoadEventArgs that contains the event data.
[Note: A AssemblyLoadEventHandler instance is used to specify the methods that are invoked in response to a System.AppDomain.AssemblyLoad event. To associate an instance ofAssemblyLoadEventHandler
with an event, add the instance to the event. The methods referenced by theAssemblyLoadEventHandler
instance are invoked whenever an assembly is loaded, until theAssemblyLoadEventHandler
instance is removed from the event.For additional information about events, see Partitions I and II of the CLI Specification.
]
For an example that demonstrates creating a AssemblyLoadEventHandler, see System.AppDomain.AssemblyLoad.
System Namespace