AssemblyLoadEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the method that handles the AssemblyLoad event of an AppDomain.
public delegate void AssemblyLoadEventHandler(System::Object ^ sender, AssemblyLoadEventArgs ^ args);
public delegate void AssemblyLoadEventHandler(object? sender, AssemblyLoadEventArgs args);
public delegate void AssemblyLoadEventHandler(object sender, AssemblyLoadEventArgs args);
[System.Serializable]
public delegate void AssemblyLoadEventHandler(object sender, AssemblyLoadEventArgs args);
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public delegate void AssemblyLoadEventHandler(object sender, AssemblyLoadEventArgs args);
type AssemblyLoadEventHandler = delegate of obj * AssemblyLoadEventArgs -> unit
[<System.Serializable>]
type AssemblyLoadEventHandler = delegate of obj * AssemblyLoadEventArgs -> unit
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type AssemblyLoadEventHandler = delegate of obj * AssemblyLoadEventArgs -> unit
Public Delegate Sub AssemblyLoadEventHandler(sender As Object, args As AssemblyLoadEventArgs)
Parameters
- sender
- Object
The source of the event.
An AssemblyLoadEventArgs that contains the event data.
- Attributes
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.
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om