Universal Windows Service Class Library

Service Class

Represent a interface with basic functionallity for the windows service manager.

For a list of all members of this type, see Service Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.ServiceProcess.ServiceBase
            uws.Service

[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IRootDesigner", DesignerTypeName="Microsoft.VisualStudio.Install.UserNTServiceDesigner, Microsoft.VisualStudio, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[InstallerType(InstallerType=System.ServiceProcess.ServiceProcessInstaller)]
[DesignerCategory(Category="Component")]
public class Service : ServiceBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Provides the windows service manager the ability to start, stop, pause, continue, send special custom commands or inform the service that the computer is shutting down.

The base class ServiceBase contains the basic functionality for this service class.

Requirements

Namespace: uws

Assembly: uws (in uws.exe)

See Also

Service Members | uws Namespace | ServiceBase