NSApplication.Notifications.ObserveWillTerminate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ObserveWillTerminate(EventHandler<NSNotificationEventArgs>) | |
ObserveWillTerminate(NSObject, EventHandler<NSNotificationEventArgs>) |
ObserveWillTerminate(EventHandler<NSNotificationEventArgs>)
public static Foundation.NSObject ObserveWillTerminate (EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveWillTerminate : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject
Parameters
- handler
- EventHandler<NSNotificationEventArgs>
Returns
Applies to
ObserveWillTerminate(NSObject, EventHandler<NSNotificationEventArgs>)
public static Foundation.NSObject ObserveWillTerminate (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveWillTerminate : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject
Parameters
- objectToObserve
- NSObject
- handler
- EventHandler<NSNotificationEventArgs>