Method | Description | |
---|---|---|
Configure ( string name, ServiceStartup startup ) : void | ||
IsInstalled ( string name ) : bool | ||
SetServiceStartup ( string name, ServiceStartup startup ) : void | ||
SetServiceStatus ( string name, ServiceStatus status ) : void | ||
Start ( string service, System.TimeSpan timeToWait ) : void | ||
Status ( string service ) : ServiceControllerStatus | ||
Stop ( string service, System.TimeSpan timeToWait ) : void | ||
TryGetConfiguration ( string name ) : ServiceConfiguration? | ||
TryGetServiceStartup ( string name ) : ServiceStartup? |
Method | Description | |
---|---|---|
ToServiceStatus ( ServiceControllerStatus status ) : ServiceStatus | ||
mkServiceKey ( string service ) : string |
public static Configure ( string name, ServiceStartup startup ) : void | ||
name | string | |
startup | ServiceStartup | |
return | void |
public static IsInstalled ( string name ) : bool | ||
name | string | |
return | bool |
public static SetServiceStartup ( string name, ServiceStartup startup ) : void | ||
name | string | |
startup | ServiceStartup | |
return | void |
public static SetServiceStatus ( string name, ServiceStatus status ) : void | ||
name | string | |
status | ServiceStatus | |
return | void |
public static Start ( string service, System.TimeSpan timeToWait ) : void | ||
service | string | |
timeToWait | System.TimeSpan | |
return | void |
public static Status ( string service ) : ServiceControllerStatus | ||
service | string | |
return | ServiceControllerStatus |
public static Stop ( string service, System.TimeSpan timeToWait ) : void | ||
service | string | |
timeToWait | System.TimeSpan | |
return | void |
public static TryGetConfiguration ( string name ) : ServiceConfiguration? | ||
name | string | |
return | ServiceConfiguration? |
public static TryGetServiceStartup ( string name ) : ServiceStartup? | ||
name | string | |
return | ServiceStartup? |