API Reference
Class
WindowsServiceStatusSnapshot
Snapshot of a Windows service's current state and configuration.
Inheritance
- Object
- WindowsServiceStatusSnapshot
Constructors
public WindowsServiceStatusSnapshot(Boolean Exists, String ServiceName, String DisplayName, String Status, String StartType, Nullable<Boolean> CanStop, String ImagePath, String Description) #Snapshot of a Windows service's current state and configuration.
Parameters
- Exists System.Boolean
- ServiceName System.String
- DisplayName System.String
- Status System.String
- StartType System.String
- CanStop System.Nullable{System.Boolean}
- ImagePath System.String
- Description System.String
Methods
public WindowsServiceStatusSnapshot <Clone>$() #Returns:
WindowsServiceStatusSnapshotpublic Void Deconstruct(out Boolean Exists, out String ServiceName, out String DisplayName, out String Status, out String StartType, out Nullable<Boolean> CanStop, out String ImagePath, out String Description) #Returns:
VoidParameters
- Exists Boolean
- ServiceName String
- DisplayName String
- Status String
- StartType String
- CanStop Nullable<Boolean>
- ImagePath String
- Description String
public virtual Boolean Equals(WindowsServiceStatusSnapshot other) #Returns:
BooleanParameters
- obj Object
public override Int32 GetHashCode() #Returns:
Int32public static WindowsServiceStatusSnapshot Missing(String serviceName) #Returns:
WindowsServiceStatusSnapshotCreates a snapshot representing a missing service.
Parameters
- serviceName System.String
public override String ToString() #Returns:
StringInherited Methods
Properties
public Boolean Exists { get; set; } #public String ServiceName { get; set; } #public String DisplayName { get; set; } #public String Status { get; set; } #public String StartType { get; set; } #public Nullable<Boolean> CanStop { get; set; } #public String ImagePath { get; set; } #public String Description { get; set; } #