ServiceConfig

Service configuration information for failure actions.

Record Fields

Record FieldDescription
FirstFailureActionType
Signature: ServiceFailureActionType
ProgramCommandLine
Signature: string

If any of the three *ActionType attributes is "runCommand", this specifies the command to run when doing so. This value is formatted.

RebootMessage
Signature: string

If any of the three *ActionType attributes is "reboot", this specifies the message to broadcast to server users before doing so.

ResetPeriodInDays
Signature: int

Number of days after which to reset the failure count to zero if there are no failures.

RestartServiceDelayInSeconds
Signature: int

If any of the three *ActionType attributes is "restart", this specifies the number of seconds to wait before doing so.

SecondFailureActionType
Signature: ServiceFailureActionType
ServiceName
Signature: String

Required if not under a ServiceInstall element.

ThirdFailureActionType
Signature: ServiceFailureActionType

Instance members

Instance memberDescription
x.createAttributeList()
Signature: unit -> seq<string * string>