Click or drag to resize

ServiceHostBase Methods

The ServiceHostBase type exposes the following members.

Methods
  Name Description
Protected method ActionRequestHandler Generic adapter request handler.
Protected method AuthenticateRequestHandler Attempts to authenticate or re-authenticate to network shares.
Protected method CacheCurrentConfiguration Caches the current system configuration.
Protected method ConnectionErrorLogExceptionHandler Event handler for processing exceptions encountered while writing entries to the connection log file.
Public method 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)
Protected method DisplayResponseMessage Displays a response message to client requester.
Protected method DisplayStatusMessage(String, UpdateType) Displays a broadcast message to all subscribed clients.
Protected method DisplayStatusMessage(String, UpdateType, Boolean) Displays a broadcast message to all subscribed clients.
Protected method DisplayStatusMessage(String, UpdateType, Object) Displays a broadcast message to all subscribed clients.
Protected method DisplayStatusMessage(String, UpdateType, Boolean, Object) Displays a broadcast message to all subscribed clients.
Public method Dispose Releases all resources used by the Component.
(Inherited from Component)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the ServiceHostBase object and optionally releases the managed resources.
(Overrides ServiceBaseDispose(Boolean))
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method ErrorLogExceptionHandler Event handler for processing exceptions encountered while writing entries to the error log file.
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Protected method GetInputMeasurementsRequestHandler Gets adapter input measurements.
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected method GetOutputMeasurementsRequestHandler Gets adapter output measurements.
Protected method GetRequestedAdapter(ClientRequestInfo) Gets requested IAdapter.
Protected method GetRequestedAdapter(ClientRequestInfo, IAdapterCollection) Gets requested IAdapter and its containing IAdapterCollection.
Protected method GetRequestedCollection Gets requested IAdapterCollection.
Protected method GetService Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method HealthMonitorProcessHandler Event handler for scheduled health monitor display.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected method InitializeRequestHandler Performs initialization or reinitialization of specified adapter or collection.
Public method InitializeServiceHelper Initializes the service helper.
Protected method InvokeRequestHandler Invokes specified adapter command.
Protected method ListCommandsRequestHandler Lists possible commands of specified adapter.
Protected method ListRequestHandler Displays status of specified adapter or collection.
Protected method LogEventRequestHandler Sends remote entry for logging.
Protected method LogException Logs an exception to the service helper ErrorLogger.
Protected method LogExceptionHandler Event handler for processing exceptions encountered while writing entries to any log file.
Protected method ManageCertificateHandler Manages the certificate used by the service.
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Protected method OnContinue Handles service continue event.
(Overrides ServiceBaseOnContinue)
Protected method OnCustomCommand When implemented in a derived class, OnCustomCommand(Int32) executes when the Service Control Manager (SCM) passes a custom command to the service. Specifies actions to take when a command with the specified parameter value occurs.
(Inherited from ServiceBase)
Protected method OnPause Handles service pause event.
(Overrides ServiceBaseOnPause)
Protected method OnPowerEvent When implemented in a derived class, executes when the computer's power status has changed. This applies to laptop computers when they go into suspended mode, which is not the same as a system shutdown.
(Inherited from ServiceBase)
Protected method OnSessionChange Executes when a change event is received from a Terminal Server session.
(Inherited from ServiceBase)
Protected method OnShutdown Handles service shut down event.
(Overrides ServiceBaseOnShutdown)
Protected method OnStart Handles service start event.
(Overrides ServiceBaseOnStart(String))
Protected method OnStop Handles service stop event.
(Overrides ServiceBaseOnStop)
Protected method PingRequestHandler Used to ping a device.
Protected method PropagateDataSource Handle assignment of data source to Iaon session.
Protected method RefreshRoutesRequestHandler Recalculates routing tables.
Protected method ReloadConfigRequestHandler Manually reloads system configuration.
Protected method ReportingProcessHandler Event handler for scheduled reporting services.
Public method RequestAdditionalTime Requests additional time for a pending operation.
(Inherited from ServiceBase)
Protected method RestartServiceHandler Attempts to restart the hose service.
Protected method SendResponse(ClientRequestInfo, Boolean) Sends an actionable response to client.
Protected method SendResponse(ClientRequestInfo, Boolean, String, Object) Sends an actionable response to client with a formatted message.
Protected method SendResponseWithAttachment Sends an actionable response to client with a formatted message and attachment.
Public method ServiceMainCallback Registers the command handler and starts the service.
(Inherited from ServiceBase)
Protected method ServiceStartedHandler Event handler for service started operation.
Protected method ServiceStartingHandler Event handler for service starting operations.
Protected method ServiceStoppingHandler Event handler for service stopping operation.
Protected method StartRequestHandler Starts specified adapter.
Protected method StatusExportProcessHandler Event handler for scheduled adapter status export.
Protected method StatusLogExceptionHandler Event handler for processing exceptions encountered while writing entries to the status log file.
Public method Stop Stops the executing service.
(Inherited from ServiceBase)
Protected method StopRequestHandler Stops specified adapter.
Protected method TemporalSupportRequestHandler Determines support for temporal processing from existing adapters.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component)
Protected method UpdateConfigFileRequestHandler Updates an option in the configuration file.
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also