Specifies that the message box is displayed on the active desktop. This field is constant.
[Visual Basic] Public Const ServiceNotification As Integer [C#] public const int ServiceNotification; [C++] public: const int ServiceNotification; [JScript] public var ServiceNotification : int;
The caller is a service notifying the user of an event. The function displays a message box on the current active desktop, even if there is no user logged on to the computer.
Terminal Services: If the calling thread has an impersonation token, the function directs the message box to the session specified in the impersonation token.
MessageBox Class | MessageBox Members | System.WinForms Namespace