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
)

Parameters

sender
Type: System::Object^

The source of the event.

args
Type: System::AssemblyLoadEventArgs^

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.

.NET Framework
Available since 1.1
Return to top
Show: