Click or drag to resize

ServiceInfo Class

Service Information.

For more information see: Win32_Service class

Inheritance Hierarchy
SystemObject
  Xcalibur.Models.ServicesServiceInfo

Namespace:  Xcalibur.Models.Services
Assembly:  Xcalibur.Models (in Xcalibur.Models.dll) Version: 1.0.5.0 (1.0.0.0)
Syntax
[DataContractAttribute]
public class ServiceInfo : IServiceInfo

The ServiceInfo type exposes the following members.

Constructors
  NameDescription
Public methodServiceInfo
Initializes a new instance of the ServiceInfo class
Top
Properties
  NameDescription
Public propertyAcceptPause
Win32_Service: Indicates whether the service can be paused.
Public propertyAcceptStop
Win32_Service: Indicates whether the service can be stopped.
Public propertyDescription
Win32_Service: Description of the object.
Public propertyDisplayName
Win32_Service: Name of the service as viewed in the Services snap-in. This string has a maximum length of 256 characters. Note that the display name and the service name (which is stored in the registry) are not always the same. For example, the DHCP Client service has the service name Dhcp but the display name DHCP Client. The name is case-preserved in the Service Control Manager. However, DisplayName comparisons are always case-insensitive.
Public propertyIsDelayedAutoStart
Win32_Service: DelayedAutoStart: If True, the service is started after other auto-start services are started plus a short delay.
Public propertyName
Win32_Service: Unique identifier of the service that provides an indication of the functionality that is managed. This functionality is described in the Description property of the object.
Public propertyPathName
Win32_Service: Fully qualified path to the service binary file that implements the service.
Public propertyProcessId
Win32_Service: Process identifier of the service.
Public propertyServiceType
Win32_Service: Type of service provided to calling processes.
Public propertyStartMode
Win32_Service: Start mode of the Windows base service.
Public propertyStartName
Win32_Service: Account name under which a service runs. Depending on the service type, the account name may be in the form of "DomainName\Username" or UPN format ("Username@DomainName"). The service process is logged by using one of these two forms when it runs. If the account belongs to the built-in domain, then ".\Username" can be specified. For kernel or system-level drivers, StartName contains the driver object name (that is, "\FileSystem\Rdr" or "\Driver\Xns") which the I/O system uses to load the device driver. Additionally, if NULL is specified, the driver runs with a default object name created by the I/O system based on the service name.
Public propertyState
Win32_Service: Current state of the base service.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also