TopshelfAliases.

StopTopshelf(ICakeContext, FilePath, string) Method

Summary

Stops a Topshelf windows service
Assembly
Cake.Topshelf.dll
Namespace
Cake.Topshelf
Containing Type
TopshelfAliases

Syntax

public static void StopTopshelf(this ICakeContext context, FilePath filePath, string instance)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
filePath FilePath The file path of the Topshelf executable to stop.
instance string The instance name of the service to stop.

Return Value

Type Description
void