Build 1.01.318.0

[This is preliminary documentation and is subject to change.]

The Service type exposes the following members.

Constructors

  NameDescription
Public methodService()()()()
Constructor for Service
Public methodService(String)
Constructor for Service

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAcceptPause
Indicates whether the service can be paused
Public propertyAcceptStop
Indicates whether the service can be stopped
Public propertyAccount
Account name under which a service runs. Depending on the service type, the account name may be in the form of DomainName\Username
Public propertyCaption
The service caption (usually equals to display name)
Public propertyDescription
The service description.
Public propertyDisplayName
The service Display name (the friendly name showed by the Windows Service manager).
Public propertyName
The service name (Windows identifier for the service)
Public propertyPath
The service local path
Public propertyProcessId
The service process. Zero if not running.
Public propertyProcessorAffinity
The processor affinity for this service.
Public propertyStartMode
The service start mode.
Public propertyStatus
The service status.

See Also