CoreWebView2ServiceWorkerRegistration Class
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.
public class CoreWebView2ServiceWorkerRegistration
type CoreWebView2ServiceWorkerRegistration = class
Public Class CoreWebView2ServiceWorkerRegistration
- Inheritance
-
CoreWebView2ServiceWorkerRegistration
Properties
| ActiveServiceWorker |
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.
|
| Origin |
A string representing the URI of the origin where the worker is executing.
|
| ScopeUri |
The
|
| TopLevelOrigin |
A string representing the URI of the top-level document that the worker is associated with.
|
Events
| ServiceWorkerActivated |
Adds an event handler for the
|
| Unregistering |
Add an event handler for the |