pc:ServiceState
note
This article is about the pc:ServiceState Blend directive.
pc:ServiceState
Outputs the state of a Windows service on the local computer.
Syntax
<pc:ServiceState servicename="*servicename*" />
Example
<pc:ServiceState servicename="RulesService-7779"/>
Output values
Output values are as follows:
Output value | Meaning |
---|---|
Running | The Windows Service is running. The Services panel shows Status = Running. |
Stopped | The Windows Service is not running. The Services panel shows Status = (none). |