Mono Class Library: System Namespace

System.AssemblyLoadEventHandler Delegate

Defines the methods that are called in response to AppDomain.AssemblyLoad events. [Edit]
[System.Runtime.InteropServices.ComVisible(true)]
public delegate void AssemblyLoadEventHandler (object sender, AssemblyLoadEventArgs args)

Parameters

sender
The AppDomain that is the source of the event. [Edit]
args
A AssemblyLoadEventArgs that contains the event data. [Edit]

Remarks

Note:

A AssemblyLoadEventHandler instance is used to specify the methods that are invoked in response to a AppDomain.AssemblyLoad event. To associate an instance of AssemblyLoadEventHandler with an event, add the instance to the event. The methods referenced by the AssemblyLoadEventHandler instance are invoked whenever an assembly is loaded, until the AssemblyLoadEventHandler instance is removed from the event.

For additional information about events, see Partitions I and II of the CLI Specification.

[Edit]

Example

For an example that demonstrates creating a AssemblyLoadEventHandler, see AppDomain.AssemblyLoad.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0