AssemblyLoadEventHandler Delegar

Definição

Representa o método que manipula o evento AssemblyLoad de um 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

A fonte do evento.The source of the event.

args
AssemblyLoadEventArgs

Um AssemblyLoadEventArgs que contém os dados do evento.An AssemblyLoadEventArgs that contains the event data.

Herança
AssemblyLoadEventHandler
Atributos

Comentários

Um AssemblyLoadEventHandler é usado para especificar os métodos que são invocados em resposta a um evento AssemblyLoad.An AssemblyLoadEventHandler is used to specify the methods that are invoked in response to an AssemblyLoad event. Para associar uma instância do AssemblyLoadEventHandler a um evento, adicione a instância ao evento.To associate an instance of AssemblyLoadEventHandler with an event, add the instance to the event. Os métodos referenciados pelo AssemblyLoadEventHandler são invocados sempre que um assembly é carregado, até que o AssemblyLoadEventHandler seja removido do 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 Extensão

GetMethodInfo(Delegate)

Obtém um objeto que representa o método representado pelo delegado especificado.Gets an object that represents the method represented by the specified delegate.

Aplica-se a