Click or drag to resize

WindowsApiSERVICE_FAILURE_ACTIONSlpCommand Field

The command line of the process for the CreateProcess function to execute in response to the SC_ACTION_RUN_COMMAND service controller action. This process runs under the same account as the service.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+cb466f216da12fb731bf5493e0294c87f9de1794
Syntax
public string lpCommand
View Source

Field Value

String
Remarks
If this value is NULL, the command is unchanged. If the value is an empty string (""), the command is deleted and no program is run when the service fails.
See Also