共用方式為


NSWorkspace.Notifications.ObserveDidTerminateApplication 方法

定義

多載

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

參數

傳回

適用於

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

參數

objectToObserve
NSObject

傳回

適用於