NSWorkspace.Notifications.ObserveSessionDidResignActive 方法

定义

重载

ObserveSessionDidResignActive(EventHandler<NSNotificationEventArgs>)
ObserveSessionDidResignActive(NSObject, EventHandler<NSNotificationEventArgs>)

ObserveSessionDidResignActive(EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveSessionDidResignActive (EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveSessionDidResignActive : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

参数

返回

适用于

ObserveSessionDidResignActive(NSObject, EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveSessionDidResignActive (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveSessionDidResignActive : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

参数

objectToObserve
NSObject

返回

适用于