This project is read-only.
Windows Service Task

General Format
<Task name="WindowsServiceTask" description="" serviceName="" serviceStatus="" startupType="" startupAccount="" failAsWarning="" />

Attributes
  • name: specifies the task name - "WindowsServiceTask".
  • description: (optional) specifies the text to be displayed in the Task column within the user interface (UI). If you ommit this attribute the tasks name will be used.
  • serviceStatus: (optional) specifies the expected service status. Valid values include: ContinuePending, Paused, PausePending, Running, StartPending, Stopped, or StopPending.
  • startupType: (optional) specifies the expected startup type. Valid values include: Boot, System, Auto, Manual, or Disabled.
  • startupAccount: (optional) specifies the expected startup account. This is the name of the account the Windows service is running as.
  • failAsWarning: (optional) if specified, and has a value of "true", "yes", or "1", then any errors caught by this task will be treated as warnings. NOTE: This attribute can be applied to any task.
  • disabled: (optional - not shown) if specified, and has a value of "true", "yes", or "1", then this task will not be loaded and will be ignored. NOTE: This attribute can be applied to any task.

Last edited Nov 27, 2007 at 4:38 AM by jbramwell, version 4

Comments

No comments yet.