NSWorkspace.Notifications.ObserveScreensDidSleep Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ObserveScreensDidSleep(EventHandler<NSNotificationEventArgs>) | |
ObserveScreensDidSleep(NSObject, EventHandler<NSNotificationEventArgs>) |
ObserveScreensDidSleep(EventHandler<NSNotificationEventArgs>)
public static Foundation.NSObject ObserveScreensDidSleep (EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveScreensDidSleep : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject
Paramètres
- handler
- EventHandler<NSNotificationEventArgs>
Retours
S’applique à
ObserveScreensDidSleep(NSObject, EventHandler<NSNotificationEventArgs>)
public static Foundation.NSObject ObserveScreensDidSleep (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveScreensDidSleep : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject
Paramètres
- objectToObserve
- NSObject
- handler
- EventHandler<NSNotificationEventArgs>