Edytuj

Udostępnij za pośrednictwem


NSWorkspace.Notifications.ObserveDidTerminateApplication Method

Definition

Overloads

ObserveDidTerminateApplication(EventHandler<NSWorkspaceApplicationEventArgs>)
ObserveDidTerminateApplication(NSObject, EventHandler<NSWorkspaceApplicationEventArgs>)

ObserveDidTerminateApplication(EventHandler<NSWorkspaceApplicationEventArgs>)

public static Foundation.NSObject ObserveDidTerminateApplication (EventHandler<AppKit.NSWorkspaceApplicationEventArgs> handler);
static member ObserveDidTerminateApplication : EventHandler<AppKit.NSWorkspaceApplicationEventArgs> -> Foundation.NSObject

Parameters

Returns

Applies to

ObserveDidTerminateApplication(NSObject, EventHandler<NSWorkspaceApplicationEventArgs>)

public static Foundation.NSObject ObserveDidTerminateApplication (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSWorkspaceApplicationEventArgs> handler);
static member ObserveDidTerminateApplication : Foundation.NSObject * EventHandler<AppKit.NSWorkspaceApplicationEventArgs> -> Foundation.NSObject

Parameters

objectToObserve
NSObject

Returns

Applies to