AssemblyLoadEventHandler AssemblyLoadEventHandler AssemblyLoadEventHandler AssemblyLoadEventHandler Delegate

Definition

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

public delegate void AssemblyLoadEventHandler(System::Object ^ sender, AssemblyLoadEventArgs ^ args);
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable]
public delegate void AssemblyLoadEventHandler(object sender, AssemblyLoadEventArgs args);
type AssemblyLoadEventHandler = delegate of obj * AssemblyLoadEventArgs -> unit
Public Delegate Sub AssemblyLoadEventHandler(sender As Object, args As AssemblyLoadEventArgs)
Parameters
sender
Object Object Object Object

The source of the event.

Inheritance
AssemblyLoadEventHandlerAssemblyLoadEventHandlerAssemblyLoadEventHandlerAssemblyLoadEventHandler
Attributes
ComVisibleAttribute SerializableAttribute

Remarks

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.

Applies to