IService
|
public interface IServiceMonitor : IAdapter, ISupportLifecycle, IDisposable, IProvideStatus, IPersistSettings
The IServiceMonitor type exposes the following members.
Name | Description | |
---|---|---|
Domain |
Gets the AppDomain in which the IAdapter is executing.
(Inherited from IAdapter) | |
Enabled |
Gets or sets a boolean value that indicates whether the object is enabled.
(Inherited from ISupportLifecycle) | |
HostFile |
Gets or sets the path to the file where the IAdapter is housed.
(Inherited from IAdapter) | |
IsDisposed |
Gets a flag that indicates whether the object has been disposed.
(Inherited from ISupportLifecycle) | |
MemoryUsage |
Gets the memory utilization of the IAdapter in bytes if executing in a separate AppDomain, otherwise NaN.
(Inherited from IAdapter) | |
Name |
Gets the name of the object providing status information.
(Inherited from IProvideStatus) | |
PersistSettings |
Determines whether the object settings are to be persisted to the config file.
(Inherited from IPersistSettings) | |
ProcessorUsage |
Gets the % processor utilization of the IAdapter if executing in a separate AppDomain otherwise NaN.
(Inherited from IAdapter) | |
SettingsCategory |
Gets or sets the category name under which the object settings are persisted in the config file.
(Inherited from IPersistSettings) | |
Status |
Gets the current status details about object providing status information.
(Inherited from IProvideStatus) | |
TypeName |
Gets or sets the text representation of the IAdapter's TypeName.
(Inherited from IAdapter) |
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) | |
HandleClientMessage | Handles messages sent by a client. | |
HandleServiceError | Handles messages received by the service whenever the service encounters an error. | |
HandleServiceHeartbeat | Handles notifications from the service that occur on an interval to indicate that the service is still running. | |
Initialize |
Initializes the state of the object.
(Inherited from ISupportLifecycle) | |
LoadSettings |
Loads saved settings from the config file.
(Inherited from IPersistSettings) | |
SaveSettings |
Saves settings to the config file.
(Inherited from IPersistSettings) |
Name | Description | |
---|---|---|
Disposed |
Raised after the source object has been properly disposed.
(Inherited from ISupportLifecycle) | |
ExecutionException |
Occurs when the IAdapter encounters an Exception during execution.
(Inherited from IAdapter) | |
StatusUpdate |
Occurs when the IAdapter wants to provide a status update.
(Inherited from IAdapter) |