NSApplication.Notifications.ObserveWillTerminate Method

Definition

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

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

Returns

Applies to