AssemblyLoadEventHandler AssemblyLoadEventHandler AssemblyLoadEventHandler AssemblyLoadEventHandler Delegate

Definizione

Rappresenta il metodo di gestione dell'evento AssemblyLoad di un oggetto 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)

Parametri

sender
Object Object Object Object

Origine dell'evento.The source of the event.

args
AssemblyLoadEventArgs AssemblyLoadEventArgs AssemblyLoadEventArgs AssemblyLoadEventArgs

Oggetto AssemblyLoadEventArgs che contiene i dati dell'evento.An AssemblyLoadEventArgs that contains the event data.

Ereditarietà
AssemblyLoadEventHandlerAssemblyLoadEventHandlerAssemblyLoadEventHandlerAssemblyLoadEventHandler
Attributi

Commenti

Un' AssemblyLoadEventHandler viene usato per specificare i metodi che vengono richiamati in risposta a un AssemblyLoad evento.An AssemblyLoadEventHandler is used to specify the methods that are invoked in response to an AssemblyLoad event. Per associare un'istanza di AssemblyLoadEventHandler con un evento, aggiungere l'istanza dell'evento.To associate an instance of AssemblyLoadEventHandler with an event, add the instance to the event. I metodi a cui fanno riferimento le AssemblyLoadEventHandler vengono richiamati ogni volta che un assembly viene caricato, finché il AssemblyLoadEventHandler viene rimosso dall'evento.The methods referenced by the AssemblyLoadEventHandler are invoked whenever an assembly is loaded, until the AssemblyLoadEventHandler is removed from the event.

Extension Methods

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato.Gets an object that represents the method represented by the specified delegate.

Si applica a