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

Called when a Pause Command message is sent to to the service. This function is expected to be overridden when the CanPauseAndContinue property is true.

[Visual Basic]
Overridable Protected Sub OnPause()
[C#]
protected virtual void OnPause();
[C++]
protected: virtual void OnPause();
[JScript]
protected function OnPause();

See Also

ServiceBase Class | ServiceBase Members | System.ServiceProcess Namespace