Click or drag to resize

IDaemonServiceStart Method

Indicates the caller wishes to start the daemon service lifecycle

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
bool Start()

Return Value

Type: Boolean
True if service startup was successful, false if the daemon could not be started and should interrupt startup
Remarks

Implementers of this method should ensure that they perform any necessary startup tasks in this method. It is expected that implementers will raise the Starting and Started events from this method and will return TRUE if the service startup was successful. If startup is not successful, implementers will return FALSE at minimum (to place the host context in maintenance mode) or throw an exception (to terminate the host process)

See Also