AssemblyLoadEventHandler 대리자

정의

AssemblyLoadAppDomain 이벤트를 처리하는 메서드를 나타냅니다.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)

매개 변수

sender
Object

이벤트 소스입니다.The source of the event.

args
AssemblyLoadEventArgs

이벤트 데이터가 포함된 AssemblyLoadEventArgs입니다.An AssemblyLoadEventArgs that contains the event data.

특성

설명

AssemblyLoadEventHandler 이벤트에 대 한 응답으로 호출 되는 메서드를 지정 하는 데 사용 됩니다 AssemblyLoad .An AssemblyLoadEventHandler is used to specify the methods that are invoked in response to an AssemblyLoad event. 인스턴스를 AssemblyLoadEventHandler 이벤트와 연결 하려면 인스턴스를 이벤트에 추가 합니다.To associate an instance of AssemblyLoadEventHandler with an event, add the instance to the event. 에서 참조 하는 메서드는 AssemblyLoadEventHandler AssemblyLoadEventHandler 가 이벤트에서 제거 될 때까지 어셈블리가 로드 될 때마다 호출 됩니다.The methods referenced by the AssemblyLoadEventHandler are invoked whenever an assembly is loaded, until the AssemblyLoadEventHandler is removed from the event.

확장 메서드

GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.Gets an object that represents the method represented by the specified delegate.

적용 대상