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.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.

[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);

See Also

ServiceBase Class | ServiceBase Members | System.ServiceProcess Namespace