System.AssemblyLoadEventHandler Delegate

Assembly: Mscorlib.dll
Namespace: System
Summary
Represents the method that handles the AppDomain.AssemblyLoad event of an AppDomain.
C# Syntax:
[Serializable]
public delegate void AssemblyLoadEventHandler(object sender, AssemblyLoadEventArgs args);
Parameters:
The declaration of your event handler must have the same parameters as the AssemblyLoadEventHandler delegate declaration.

sender

The source of the event.

args

An AssemblyLoadEventArgs that contains the event data. An AssemblyLoadEventArgs that contains the event data.

Remarks
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.
See also:
System Namespace

Hierarchy:

Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.