Toggle side menu
Toggle side menu
Blog
Documentation
Reference
Extensions
Community
API
Support Us
Source
TopshelfAliases
.
StartTopshelf
(ICakeContext,
FilePath,
string)
Method
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
Starts a Topshelf windows service
Assembly
Cake
.Topshelf
.dll
Namespace
Cake
.Topshelf
Containing Type
TopshelfAliases
Syntax
public
static
void
StartTopshelf
(
this
ICakeContext context, FilePath filePath,
string
instance)
Attributes
Type
Description
Cake
Method
Alias
Attribute
Parameters
Name
Type
Description
context
ICakeContext
The cake context.
filePath
FilePath
The file path of the Topshelf executable to start.
instance
string
The instance name of the service to start.
Return Value
Type
Description
void