CoreWebView2WebResourceRequestSourceKinds Enum
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.
Specifies the source of WebResourceRequested
event.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum CoreWebView2WebResourceRequestSourceKinds
[<System.Flags>]
type CoreWebView2WebResourceRequestSourceKinds =
Public Enum CoreWebView2WebResourceRequestSourceKinds
- Inheritance
-
CoreWebView2WebResourceRequestSourceKinds
- Attributes
Fields
Name | Value | Description |
---|---|---|
All | -1 | Indicates that web resource is requested from any supported source. |
None | 0 | |
Document | 1 | Indicates that web resource is requested from main page including dedicated workers, iframes and main script for shared workers. |
SharedWorker | 2 | Indicates that web resource is requested from shared worker. |
ServiceWorker | 4 | Indicates that web resource is requested from service worker. |