This documentation is archived and is not being maintained.
.NET Framework 1.1
The properties of the ServiceBase class are listed here. For a complete list of ServiceBase class members, see the ServiceBase Members topic.
|AutoLog||Indicates whether to report Start, Stop, Pause, and Continue commands in the event log.|
|CanHandlePowerEvent||Gets or sets a value indicating whether the service can handle notifications of computer power status changes.|
|CanPauseAndContinue||Gets or sets a value indicating whether the service can be paused and resumed.|
|CanShutdown||Gets or sets a value indicating whether the service should be notified when the system is shutting down.|
|CanStop||Gets or sets a value indicating whether the service can be stopped once it has started.|
|Container (inherited from Component)||Gets the IContainer that contains the Component.|
|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.|
|ServiceName||Gets or sets the short name used to identify the service to the system.|
|Site (inherited from Component)||Gets or sets the ISite of the Component.|
|DesignMode (inherited from Component)||Gets a value that indicates whether the Component is currently in design mode.|
|Events (inherited from Component)||Gets the list of event handlers that are attached to this Component.|