ServiceBase Properties

 

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

NameDescription
System_CAPS_pubpropertyAutoLog

Indicates whether to report Start, Stop, Pause, and Continue commands in the event log.

System_CAPS_pubpropertyCanHandlePowerEvent

Gets or sets a value indicating whether the service can handle notifications of computer power status changes.

System_CAPS_pubpropertyCanHandleSessionChangeEvent

Gets or sets a value that indicates whether the service can handle session change events received from a Terminal Server session.

System_CAPS_pubpropertyCanPauseAndContinue

Gets or sets a value indicating whether the service can be paused and resumed.

System_CAPS_protpropertyCanRaiseEvents

Gets a value indicating whether the component can raise an event.(Inherited from Component.)

System_CAPS_pubpropertyCanShutdown

Gets or sets a value indicating whether the service should be notified when the system is shutting down.

System_CAPS_pubpropertyCanStop

Gets or sets a value indicating whether the service can be stopped once it has started.

System_CAPS_pubpropertyContainer

Gets the IContainer that contains the Component.(Inherited from Component.)

System_CAPS_protpropertyDesignMode

Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)

System_CAPS_pubpropertyEventLog

Gets an event log you can use to write notification of service command calls, such as Start and Stop, to the Application event log.

System_CAPS_protpropertyEvents

Gets the list of event handlers that are attached to this Component.(Inherited from Component.)

System_CAPS_pubpropertyExitCode

Gets or sets the exit code for the service.

System_CAPS_protpropertyServiceHandle

Gets the service control handle for the service.

System_CAPS_pubpropertyServiceName

Gets or sets the short name used to identify the service to the system.

System_CAPS_pubpropertySite

Gets or sets the ISite of the Component.(Inherited from Component.)

Return to top
Show: