NSWorkspace.Notifications.ObserveDidWake 方法

定义

重载

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

ObserveDidWake(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveDidWake(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于