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.


[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IRootDesigner", DesignerTypeName="Microsoft.VisualStudio.Install.UserNTServiceDesigner, Microsoft.VisualStudio, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
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.


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.


Namespace: uws

Assembly: uws (in uws.exe)

See Also

Service Members | uws Namespace | ServiceBase