Toggle side menu
Toggle side menu
Blog
Documentation
Reference
Extensions
Community
API
Support Us
Source
ServiceAliases
.
PauseService
(ICakeContext,
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.Services
.
Summary
Pauses a named service
Assembly
Cake
.Services
.dll
Namespace
Cake
.Services
Containing Type
ServiceAliases
Syntax
public
static
bool
PauseService
(
this
ICakeContext context,
string
name)
Attributes
Type
Description
Cake
Method
Alias
Attribute
Parameters
Name
Type
Description
context
ICakeContext
The cake context.
name
string
The name that identifies the service to the system.
Return Value
Type
Description
bool
If the service was paused.