共用方式為


CoreWebView2WebResourceContext Enum

Definition

Specifies the web resource request contexts.

public enum CoreWebView2WebResourceContext
type CoreWebView2WebResourceContext = 
Public Enum CoreWebView2WebResourceContext
Inheritance
CoreWebView2WebResourceContext

Fields

Name Value Description
All 0

Specifies all resources.

Document 1

Specifies a document resource.

Stylesheet 2

Specifies a CSS resource.

Image 3

Specifies an image resource.

Media 4

Specifies another media resource such as a video.

Font 5

Specifies a font resource.

Script 6

Specifies a script resource.

XmlHttpRequest 7

Specifies an XML HTTP request, Fetch and EventSource API communication.

Fetch 8

Specifies a Fetch API communication.

TextTrack 9

Specifies a TextTrack resource.

EventSource 10

Specifies an EventSource API communication.

Websocket 11

Specifies a WebSocket API communication.

Manifest 12

Specifies a Web App Manifest.

SignedExchange 13

Specifies a Signed HTTP Exchange.

Ping 14

Specifies a Ping request.

CspViolationReport 15

Specifies a CSP Violation Report.

Other 16

Specifies an other resource.

Applies to