| Name | Type | Description | Required | 
|---|
| FirstFailureActionType | Enumeration | Action to take on the first failure of the service.  This attribute's value must be one of the following:- none
 - reboot
 - restart
 - runCommand
 
  | Yes | 
| ProgramCommandLine | String | If any of the three *ActionType attributes is "runCommand", this specifies the command to run when doing so.  This value is formatted. |   | 
| RebootMessage | String | If any of the three *ActionType attributes is "reboot", this specifies the message to broadcast to server users before doing so. |   | 
| ResetPeriodInDays | Integer | Number of days after which to reset the failure count to zero if there are no failures. |   | 
| RestartServiceDelayInSeconds | Integer | If any of the three *ActionType attributes is "restart", this specifies the number of seconds to wait before doing so. |   | 
| SecondFailureActionType | Enumeration | Action to take on the second failure of the service.  This attribute's value must be one of the following:- none
 - reboot
 - restart
 - runCommand
 
  | Yes | 
| ServiceName | String | Required if not under a ServiceInstall element. |   | 
| ThirdFailureActionType | Enumeration | Action to take on the third failure of the service.  This attribute's value must be one of the following:- none
 - reboot
 - restart
 - runCommand
 
  | Yes |