NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Application.RemoveOnApplicationExit

Removes an event handler associated with the System.WinForms.Application.ApplicationExit event.

[Visual Basic]
Public Shared Sub RemoveOnApplicationExit( _
   ByVal handler As EventHandler _
)
[C#]
public static void RemoveOnApplicationExit(
   EventHandler handler
);
[C++]
public: static void RemoveOnApplicationExit(
   EventHandler* handler
);
[JScript]
public static function RemoveOnApplicationExit(
   handler : EventHandler
);

Parameters

handler
The EventHandler delegate to remove.

See Also

Application Class | Application Members | System.WinForms Namespace