Compartilhar via


CoreWebView2WebResourceRequestSourceKinds Enum

Definition

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.

Applies to