NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ServiceBase Properties

The properties of the ServiceBase class are listed below. For a complete list of ServiceBase class members, see the ServiceBase Members topic.

Public:

AutoLog If true the service will use event log to report Command failures, and information for: Start Stop Pause Continue
CanPauseAndContinue Determines whether the service can be paused. If false, the Pause and Continue controls in the Services applet will be disabled, and the OnPause and OnContinue methods will not be called.
CanShutdown [To be supplied.]
CanStop Determines whether the service can be stopped once it has started. If false, the OnStop method will not be called.
EventLog An EventLog object you can use to write to the event log. It is already initialized to an object with the correct Source and Log properties set.
ServiceName Gets the short name of the Service used to identify it to the system.
Site [To be supplied.]

See Also

ServiceBase Class | System.ServiceProcess Namespace