Click or drag to resize

UpstreamSynchronizationServiceStart Method

Indicates the caller wishes to start the daemon service lifecycle

Namespace: SanteDB.Client.Disconnected.Data.Synchronization
Assembly: SanteDB.Client.Disconnected (in SanteDB.Client.Disconnected.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public bool Start()

Return Value

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

Implements

IDaemonServiceStart
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