AssemblyLoadEventHandler Delegado

Definición

Representa el método que controlará el evento AssemblyLoad de un AppDomain.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)]
[System.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)

Parámetros

sender
Object

Origen del evento.The source of the event.

args
AssemblyLoadEventArgs

Objeto AssemblyLoadEventArgs que contiene los datos del evento.An AssemblyLoadEventArgs that contains the event data.

Herencia
AssemblyLoadEventHandler
Atributos

Comentarios

Se utiliza para especificar los métodos que se invocan en respuesta a un AssemblyLoad evento. AssemblyLoadEventHandlerAn AssemblyLoadEventHandler is used to specify the methods that are invoked in response to an AssemblyLoad event. Para asociar una instancia AssemblyLoadEventHandler de a un evento, agregue la instancia al evento.To associate an instance of AssemblyLoadEventHandler with an event, add the instance to the event. Los métodos a AssemblyLoadEventHandler los que hace referencia se invocan cada vez que se carga un ensamblado, hasta que el AssemblyLoadEventHandler se quita del evento.The methods referenced by the AssemblyLoadEventHandler are invoked whenever an assembly is loaded, until the AssemblyLoadEventHandler is removed from the event.

Métodos de extensión

GetMethodInfo(Delegate)

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a