| 
               | 
            
              Service
             | 
          
public abstract class ServiceMonitorBase : Adapter, IServiceMonitor, IAdapter, ISupportLifecycle, IDisposable, IProvideStatus, IPersistSettings
The ServiceMonitorBase type exposes the following members.
| Name | Description | |
|---|---|---|
| ServiceMonitorBase | Initializes a new instance of the ServiceMonitorBase class | 
| Name | Description | |
|---|---|---|
| Domain | 
            Gets the AppDomain in which the Adapter is executing.
             (Inherited from Adapter)  | |
| Enabled | 
            Gets or sets a boolean value that indicates whether the Adapter is currently enabled.
             (Inherited from Adapter)  | |
| HostFile | 
            Gets or sets the path to the file where the Adapter is housed.
             (Inherited from Adapter)  | |
| IsDisposed | 
            Gets a flag that indicates whether the object has been disposed.
             (Inherited from Adapter)  | |
| MemoryUsage | 
            Gets the memory utilization of the Adapter in bytes if executing in a separate AppDomain, otherwise NaN.
             (Inherited from Adapter)  | |
| Name | 
            Gets the unique identifier of the Adapter.
             (Inherited from Adapter)  | |
| PersistSettings | 
            Gets or sets a boolean value that indicates whether Adapter settings are to be saved to the config file.
             (Inherited from Adapter)  | |
| ProcessorUsage | 
            Gets the % processor utilization of the Adapter if executing in a separate AppDomain otherwise NaN.
             (Inherited from Adapter)  | |
| SettingsCategory | 
            Gets or sets the category under which Adapter settings are to be saved to the config file if the PersistSettings property is set to true.
             (Inherited from Adapter)  | |
| Status | 
            Gets the descriptive status of the Adapter.
             (Inherited from Adapter)  | |
| TypeName | 
            Gets or sets the text representation of the Adapter's TypeName.
             (Inherited from Adapter)  | 
| Name | Description | |
|---|---|---|
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject)  | |
| Dispose | 
            Releases all the resources used by the Adapter.
             (Inherited from Adapter)  | |
| Dispose(Boolean) | 
            Releases the unmanaged resources used by the Adapter and optionally releases the managed resources.
             (Inherited from Adapter)  | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)  | |
| Finalize | 
            Releases the unmanaged resources before the Adapter is reclaimed by GC.
             (Inherited from Adapter)  | |
| GetHashCode | Serves as the default hash function. (Inherited from Object)  | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject)  | |
| GetType | Gets the Type of the current instance. (Inherited from Object)  | |
| 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 Adapter.
             (Inherited from Adapter)  | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject)  | |
| LoadSettings | 
            Loads saved ServiceMonitorBase settings from the config file if the PersistSettings property is set to true.
             (Overrides AdapterLoadSettings)  | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)  | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject)  | |
| OnDisposed | 
            Raises the Disposed event.
             (Inherited from Adapter)  | |
| OnExecutionException | 
            Raises the ExecutionException event.
             (Inherited from Adapter)  | |
| OnStatusUpdate | 
            Raises the StatusUpdate event.
             (Inherited from Adapter)  | |
| SaveSettings | 
            Saves ServiceMonitorBase settings to the config file if the PersistSettings property is set to true.
             (Overrides AdapterSaveSettings)  | |
| ToString | Returns a string that represents the current object. (Inherited from Object)  | 
| Name | Description | |
|---|---|---|
| Disposed | 
            Occurs when Adapter is disposed.
             (Inherited from Adapter)  | |
| ExecutionException | 
            Occurs when the IAdapter encounters an Exception during execution.
             (Inherited from Adapter)  | |
| StatusUpdate | 
            Occurs when the Adapter wants to provide a status update.
             (Inherited from Adapter)  | 
| Name | Description | |
|---|---|---|
| GetEnumValueOrDefault | 
            Gets the enumeration constant for value, if defined in the enumeration, or a default value.
             (Defined by EnumExtensions)  | |
| GetEnumValueOrDefaultT | 
            Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
             (Defined by EnumExtensions)  |