Export (0) Print
Expand All

_AppDomain.DomainUnload Event

Occurs when an AppDomain is about to be unloaded.

[Visual Basic]
Event DomainUnload As EventHandler
[C#]
event EventHandler DomainUnload;
[C++]
__event EventHandler* DomainUnload;

[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 EventArgs.

Remarks

The EventHandler delegate for this event can perform any termination activities before the application domain is unloaded.

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:
© 2015 Microsoft