This documentation is archived and is not being maintained.

_AppDomain.AssemblyLoad Event

Occurs when an assembly is loaded.

[Visual Basic]
Event AssemblyLoad As AssemblyLoadEventHandler
[C#]
event AssemblyLoadEventHandler AssemblyLoad;
[C++]
__event AssemblyLoadEventHandler* AssemblyLoad;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type AssemblyLoadEventArgs containing data related to this event. The following AssemblyLoadEventArgs property provides information specific to this event.

Property Description
LoadedAssembly Gets an Assembly that represents the currently loaded assembly.

Remarks

The AssemblyLoadEventHandler delegate for this event can attempt to locate the assembly and load it.

For more information about handling events, see Consuming Events.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

_AppDomain Interface | _AppDomain Members | System Namespace

Show: