Represents the method that handles the AppDomain.AssemblyLoad event of an AppDomain.
- sender
- The AppDomain that is the source of the event.
- args
- A AssemblyLoadEventArgs that contains the event data.
An AssemblyLoadEventHandler is used to specify the methods that are invoked in response to an AppDomain.AssemblyLoad event. To associate an instance of AssemblyLoadEventHandler with an event, add the instance to the event. The methods referenced by the AssemblyLoadEventHandler are invoked whenever an assembly is loaded, until the AssemblyLoadEventHandler is removed from the event.