Export (0) Print
Expand All
Expand Minimize

AssemblyLoadEventHandler Delegate

Represents the method that handles the AssemblyLoad event of an AppDomain.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public delegate void AssemblyLoadEventHandler (
	Object^ sender, 
	AssemblyLoadEventArgs^ args
)
/** @delegate */
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public delegate void AssemblyLoadEventHandler (
	Object sender, 
	AssemblyLoadEventArgs args
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

sender

The source of the event.

args

An AssemblyLoadEventArgs that contains the event data.

An AssemblyLoadEventHandler is used to specify the methods that are invoked in response to an 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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft