protected virtual void OnServicePausing()
{
// Notify service event consumers of pending service stop
if ((object)ServicePausing != null)
ServicePausing(this, EventArgs.Empty);
// Notify all remote clients of service pause
SendServiceStateChangedResponse(ServiceState.Paused);
}