ServiceAliases.

IsServicePaused(ICakeContext, string, string) Method

Summary

Checks if the named service is paused
Assembly
Cake.Services.dll
Namespace
Cake.Services
Containing Type
ServiceAliases

Syntax

public static bool IsServicePaused(this ICakeContext context, string name, string computer)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
name string The name that identifies the service to the system.
computer string The computer on which the service resides.

Return Value

Type Description
bool If the service is paused.