CoreWebView2ServiceWorkerRegistration.ActiveServiceWorker Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The active service worker that was created. If there is no active service worker, it returns a null pointer. The active service worker is the service worker that controls the pages within the scope of the registration. See the [Service Worker] (https://developer.mozilla.org/docs/Web/API/ServiceWorker) for more information.
This corresponds to the `active` property of the `ServiceWorkerRegistration` object in the DOM.
For more information, see the [MDN documentation]
(https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active).
public Microsoft.Web.WebView2.Core.CoreWebView2ServiceWorker ActiveServiceWorker { get; }
member this.ActiveServiceWorker : Microsoft.Web.WebView2.Core.CoreWebView2ServiceWorker
Public ReadOnly Property ActiveServiceWorker As CoreWebView2ServiceWorker