共用方式為


CoreWebView2ServerCertificateErrorAction Enum

Definition

Specifies the action type when server certificate error is detected to be used in the ICoreWebView2ServerCertificateErrorDetectedEventArgs interface.

public enum CoreWebView2ServerCertificateErrorAction
type CoreWebView2ServerCertificateErrorAction = 
Public Enum CoreWebView2ServerCertificateErrorAction
Inheritance
CoreWebView2ServerCertificateErrorAction

Fields

Name Value Description
AlwaysAllow 0

Indicates to ignore the warning and continue the request with the TLS certificate. This decision is cached for the RequestUri's host and the server certificate in the session.

Cancel 1

Indicates to reject the certificate and cancel the request.

Default 2

Indicates to display the default TLS interstitial error page to user for page navigations. For others TLS certificate is rejected and the request is cancelled.

Applies to