Sent by the default notification center immediately before the application terminates.
Original signature is '- (void)applicationWillTerminate:(NSNotification *)aNotification'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public void ApplicationWillTerminateMessage( NSNotification aNotification )
Public Sub ApplicationWillTerminateMessage ( _ aNotification As NSNotification _ )
public: void ApplicationWillTerminateMessage( NSNotification^ aNotification )

- aNotification (NSNotification)
- A notification named NSApplicationWillTerminateNotification. Calling the object method of this notification returns the NSApplication object itself.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)