_AppDomain.ProcessExit Event
.NET Framework 3.0
Provides COM objects with version-independent access to the AppDomain.ProcessExit event.
This event is not CLS-compliant. Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly: mscorlib (in mscorlib.dll)
'Declaration Event ProcessExit As EventHandler 'Usage Dim instance As _AppDomain Dim handler As EventHandler AddHandler instance.ProcessExit, handler
/** @event */ void add_ProcessExit (EventHandler value) /** @event */ void remove_ProcessExit (EventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.
- SecurityPermission for operating with infrastructure code. Associated enumeration: SecurityPermissionFlag.ControlAppDomain Security action: LinkDemand
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.