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

返回

适用于