Click or drag to resize

ServiceHostBase Properties

The ServiceHostBase type exposes the following members.

Properties
  Name Description
Protected property ActionAdapters Gets reference to the ActionAdapterCollection.
Protected property AllAdapters Gets reference to the AllAdaptersCollection.
Public property AutoLog Indicates whether to report Start, Stop, Pause, and Continue commands in the event log.
(Inherited from ServiceBase)
Public property CanHandlePowerEvent Gets or sets a value indicating whether the service can handle notifications of computer power status changes.
(Inherited from ServiceBase)
Public property CanHandleSessionChangeEvent Gets or sets a value that indicates whether the service can handle session change events received from a Terminal Server session.
(Inherited from ServiceBase)
Public property CanPauseAndContinue Gets or sets a value indicating whether the service can be paused and resumed.
(Inherited from ServiceBase)
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event.
(Inherited from Component)
Public property CanShutdown Gets or sets a value indicating whether the service should be notified when the system is shutting down.
(Inherited from ServiceBase)
Public property CanStop Gets or sets a value indicating whether the service can be stopped once it has started.
(Inherited from ServiceBase)
Protected property ConfigurationType Gets the defined system ConfigurationType.
Protected property ConsoleApplicationName Gets the related remote console application name.
Public property Container Gets the IContainer that contains the Component.
(Inherited from Component)
Protected property DataSource Gets the currently loaded system configuration DataSet.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
Public property EventLog Gets an event log you can use to write notification of service command calls, such as Start and Stop, to the Application event log.
(Inherited from ServiceBase)
Protected property Events Gets the list of event handlers that are attached to this Component.
(Inherited from Component)
Public property ExitCode Gets or sets the exit code for the service.
(Inherited from ServiceBase)
Protected property FilterAdapters Gets reference to the FilterAdapterCollection.
Protected property InputAdapters Gets reference to the InputAdapterCollection.
Protected property NodeID Gets the current node ID.
Protected property NodeIDQueryString Gets the current node ID formatted for use in a SQL query string based on ConfigurationType.
Protected property OutputAdapters Gets reference to the OutputAdapterCollection.
Protected property RemotingServer Gets reference to the TcpServer based remoting server.
Protected property ServiceHandle Gets the service control handle for the service.
(Inherited from ServiceBase)
Protected property ServiceHelper Gets access to the ServiceHelper.
Public property ServiceName Gets or sets the short name used to identify the service to the system.
(Inherited from ServiceBase)
Public property Site Gets or sets the ISite of the Component.
(Inherited from Component)
Top
See Also