共用方式為


CoreWebView2Settings.IsBuiltInErrorPageEnabled Property

Definition

Determines whether to disable built in error page for navigation failure and render process failure.

public bool IsBuiltInErrorPageEnabled { get; set; }
member this.IsBuiltInErrorPageEnabled : bool with get, set
Public Property IsBuiltInErrorPageEnabled As Boolean

Property Value

Remarks

When disabled, blank page is displayed when related error happens. The default value is true.

Applies to