Build 1.01.318.0
[This is preliminary documentation and is subject to change.]
The Service type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Service()()()() |
Constructor for Service | |
| Service(String) |
Constructor for Service |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AcceptPause |
Indicates whether the service can be paused
| |
| AcceptStop |
Indicates whether the service can be stopped
| |
| Account |
Account name under which a service runs.
Depending on the service type, the account name may be in the form of DomainName\Username
| |
| Caption |
The service caption (usually equals to display name)
| |
| Description |
The service description.
| |
| DisplayName |
The service Display name (the friendly name showed by the Windows Service manager).
| |
| Name |
The service name (Windows identifier for the service)
| |
| Path |
The service local path
| |
| ProcessId |
The service process. Zero if not running.
| |
| ProcessorAffinity |
The processor affinity for this service.
| |
| StartMode |
The service start mode.
| |
| Status |
The service status.
|