Class Service
Information about a Windows service.
Namespace: Google.Backstory
Assembly: Google.Backstory.dll
Syntax
public sealed class Service : IMessage<Service>, IEquatable<Service>, IDeepCloneable<Service>, IBufferMessage, IMessage
Constructors
Service()
Declaration
public Service()
Service(Service)
Declaration
public Service(Service other)
Parameters
| Type | Name | Description |
|---|---|---|
| Service | other |
Properties
DisplayName
The user-friendly display name of the service.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServiceType
Deprecated: use service_types instead. The type of service.
Declaration
[Obsolete]
public Service.Types.ServiceType ServiceType { get; set; }
Property Value
| Type | Description |
|---|---|
| Service.Types.ServiceType |
ServiceTypes
The list of service types.
Declaration
public RepeatedField<Service.Types.ServiceType> ServiceTypes { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Service.Types.ServiceType> |
StartupType
The startup type of the service.
Declaration
public Service.Types.StartupType StartupType { get; set; }
Property Value
| Type | Description |
|---|---|
| Service.Types.StartupType |
State
The status of the service.
Declaration
public Service.Types.State State { get; set; }
Property Value
| Type | Description |
|---|---|
| Service.Types.State |