Click or drag to resize

ServiceInstallerExExecuteActionsOnNonCrashErrors Property

Sets flag that determines when failure actions are to be executed.

Namespace: GSF.ServiceProcess
Assembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.218-beta
Syntax
public bool ExecuteActionsOnNonCrashErrors { set; }
View Source

Property Value

Boolean
Remarks

If this member is true and the service has configured failure actions, the failure actions are queued if the service process terminates without reporting a status of SERVICE_STOPPED or if it enters the SERVICE_STOPPED state but the exit code returned in the SERVICE_STATUS structure is not ERROR_SUCCESS (0).

If this member is false and the service has configured failure actions, the failure actions are queued only if the service terminates without reporting a status of SERVICE_STOPPED.

This setting is ignored unless the service has configured failure actions.

See Also