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.Topshelf.
Summary
Stops a Topshelf windows service
- Assembly
- Cake
.Topshelf .dll - Namespace
- Cake
.Topshelf - Containing Type
- TopshelfManager
Syntax
public void StopService(FilePath filePath, string instance = null, int timeout = 60000)
Parameters
Name | Type | Description |
---|---|---|
filePath | FilePath | The file path of the Topshelf executable to stop. |
instance | string | The instance name of the service to stop. |
timeout | int | The time in milliseconds to wait for the Topshelf executable. |
Return Value
Type | Description |
---|---|
void |