ServiceHostBase Methods

Methods

CacheCurrentConfiguration Caches the current system configuration.
DefineSettings Establishes default settings for the config file.
DisplayStatusMessage(String, MessageLevel) Displays a broadcast message to all subscribed clients.
DisplayStatusMessage(String, MessageLevel, Boolean) Displays a broadcast message to all subscribed clients.
DisplayStatusMessage(String, MessageLevel, Object) Displays a broadcast message to all subscribed clients.
DisplayStatusMessage(String, MessageLevel, Boolean, Object) Displays a broadcast message to all subscribed clients.
Dispose Releases all the resources used by the ServiceHostBase object.
(Overrides BackgroundServiceDispose)
Dispose(Boolean) Releases the unmanaged resources used by the ServiceHostBase object and optionally releases the managed resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
ExecuteAsync This method is called when the IHostedService starts. The implementation should return a task that represents the lifetime of the long running operation(s) being performed.
(Inherited from BackgroundService)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetFilteredStatusMessages 
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize Initializes the adapter with the specified acronym.
InitializeServiceHelper Initializes the service helper.
LogException Logs an exception.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PropagateDataSource Handle assignment of data source to Iaon session.
ReinitializeIaonSession Reinitializes the Iaon session and all dependent resources after a previous call to TerminateIaonSession. This recreates the run-time log, Iaon session, configuration loaders, exporters, reporting processes, and triggers a full system initialization.
ReloadConfig Reloads the system configuration.
StartAsync Triggered when the application host is ready to start the service.
(Overrides BackgroundServiceStartAsync(CancellationToken))
StopAsync Service stopping event handler.
(Overrides BackgroundServiceStopAsync(CancellationToken))
TerminateIaonSession Terminates the Iaon session and all dependent resources (health/status exporters, reporting processes, reload config queue, and run-time log) without disposing the ServiceHostBase itself. This allows the workload to be restarted later via ReinitializeIaonSession.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also