MonobjcMonobjc Documented Class Library
NSWorkspaceWillSleepNotification Field
NamespacesMonobjc.AppKitNSWorkspaceNSWorkspaceWillSleepNotification

Posted before the machine goes to sleep.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString NSWorkspaceWillSleepNotification
Public Shared ReadOnly NSWorkspaceWillSleepNotification As NSString
public:
static initonly NSString^ NSWorkspaceWillSleepNotification
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)