title: OnPause/OnContinue on Worker Service
body: <p>I'm migrating a Windows Service from .Net Framework to .Net Core.
  So i'm planning to create Worker Service project and use the <a href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.hosting.backgroundservice?view=dotnet-plat-ext-5.0" rel="nofollow noreferrer">BackroundService</a> class.</p>
  <p>However, <code>BackgroundService</code> class does not have <code>OnPause</code> and <code>OnContinue</code> methods.</p>
  <p>Is there a way/alternative where i can define <code>OnPause/OnContinue</code> for a Windows Service in .Net Core 3.1?</p>