Click or drag to resize

RedisAdhocCacheStart Method

Indicates the caller wishes to start the daemon service lifecycle

Namespace:  SanteDB.Caching.Redis
Assembly:  SanteDB.Caching.Redis (in SanteDB.Caching.Redis.dll) Version: 3.0.481-alpha
Syntax
public bool Start()

Return Value

Type: 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