pc:ServiceStop
note
This article is about the pc:ServiceStop Blend directive.
pc:ServiceStop
Stops a Windows service on the local computer.
Syntax
<pc:ServiceStop servicename="*servicename*" />
Example
<pc:ServiceStop servicename="RulesService-7779"/>
note
This directive is also allowed to appear, without the servicename attribute, as a child element of pc:ConfigRulesService.
note
If the Windows service was already stopped, <pc:ServiceStop> exits without raising an error.