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.
[Visual Basic] Overridable Public Property CanPauseAndContinue As Boolean [C#] public bool CanPauseAndContinue {virtual get; virtual set;} [C++] public: __property virtual bool get_CanPauseAndContinue(); public: __property virtual void set_CanPauseAndContinue(bool); [JScript] public function get CanPauseAndContinue() : Boolean; public function set CanPauseAndContinue(Boolean);
ServiceBase Class | ServiceBase Members | System.ServiceProcess Namespace