This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Services.
Summary
Windows service aliases.
- Assembly
- Cake
.Services .dll - Namespace
- Cake
.Services - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["ServiceAliases"]
class Type type-node
Syntax
public static class ServiceAliases
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Methods
| Name | Value | Summary |
|---|---|---|
| Can |
bool |
Checks if the named service can be paused and continued
static
|
| Can |
bool |
Checks if the named service can be paused and continued
static
|
| CanServiceShutdown |
bool |
Checks if the named service can be shutdown
static
|
| CanServiceShutdown |
bool |
Checks if the named service can be shutdown
static
|
| CanServiceStop |
bool |
Checks if the named service can be stopped
static
|
| CanServiceStop |
bool |
Checks if the named service can be stopped
static
|
| ContinueService |
bool |
Continues a named service
static
|
| ContinueService |
bool |
Continues a named service
static
|
| ContinueService |
bool |
Continues a named service
static
|
| Execute |
bool |
Executes a command on a named service
static
|
| Execute |
bool |
Executes a command on a named service
static
|
| GetService |
ServiceController |
Gets the
System.ServiceProcess.ServiceController that is associated with an existing service on the specified computer.
static
|
| GetService |
ServiceController |
Gets the
System.ServiceProcess.ServiceController that is associated with an existing service on the specified computer.
static
|
| GetServices |
List |
Gets a list of
System.ServiceProcess.ServiceController on the specified computer.
static
|
| GetServices |
List |
Gets a list of
System.ServiceProcess.ServiceController on the specified computer.
static
|
| GetServiceStatus |
Service |
Gets the
System.ServiceProcess.ServiceControllerStatus status of a service on the specified computer.
static
|
| GetServiceStatus |
Service |
Gets the
System.ServiceProcess.ServiceControllerStatus status of a service on the specified computer.
static
|
| InstallService |
void |
Installs a service on a computer
static
|
| InstallService |
void |
Installs a service on a computer
static
|
| IsServiceContinuing |
bool |
Checks if the named service is continuing
static
|
| IsServiceContinuing |
bool |
Checks if the named service is continuing
static
|
| IsServiceInstalled |
bool |
Checks if the named service is installed
static
|
| IsServiceInstalled |
bool |
Checks if the named service is installed
static
|
| IsServicePaused |
bool |
Checks if the named service is paused
static
|
| IsServicePaused |
bool |
Checks if the named service is paused
static
|
| IsServicePausing |
bool |
Checks if the named service is pausing
static
|
| IsServicePausing |
bool |
Checks if the named service is pausing
static
|
| IsServiceRunning |
bool |
Checks if the named service is running
static
|
| IsServiceRunning |
bool |
Checks if the named service is running
static
|
| IsServiceStarting |
bool |
Checks if the named service is starting
static
|
| IsServiceStarting |
bool |
Checks if the named service is starting
static
|
| IsServiceStopped |
bool |
Checks if the named service is stopped
static
|
| IsServiceStopped |
bool |
Checks if the named service is stopped
static
|
| IsServiceStopping |
bool |
Checks if the named service is stopping
static
|
| IsServiceStopping |
bool |
Checks if the named service is stopping
static
|
| PauseService |
bool |
Pauses a named service
static
|
| PauseService |
bool |
Pauses a named service
static
|
| PauseService |
bool |
Pauses a named service
static
|
| RestartService |
bool |
Restarts a named service
static
|
| RestartService |
bool |
Restarts a named service
static
|
| RestartService |
bool |
Restarts a named service
static
|
| StartService |
bool |
Starts a named service
static
|
| StartService |
bool |
Starts a named service
static
|
| StartService |
bool |
Starts a named service
static
|
| StartService |
bool |
Starts a named service
static
|
| StopService |
bool |
Stops a named service
static
|
| StopService |
bool |
Stops a named service
static
|
| StopService |
bool |
Stops a named service
static
|
| UninstallService |
void |
Uninstalls a service from a computer
static
|
| UninstallService |
void |
Uninstalls a service from a computer
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
