共用方式為


interface ICoreWebView2EnvironmentOptions3

interface ICoreWebView2EnvironmentOptions3
  : public IUnknown

Additional options used to create WebView2 Environment to manage crash reporting.

Summary

Members Descriptions
get_IsCustomCrashReportingEnabled Gets the IsCustomCrashReportingEnabled property.
put_IsCustomCrashReportingEnabled When IsCustomCrashReportingEnabled is set to TRUE, Windows won't send crash data to Microsoft endpoint.

Applies to

Product Introduced
WebView2 Win32 1.0.1518.46
WebView2 Win32 Prerelease 1.0.1549

Members

get_IsCustomCrashReportingEnabled

Gets the IsCustomCrashReportingEnabled property.

public HRESULT get_IsCustomCrashReportingEnabled(BOOL * value)

put_IsCustomCrashReportingEnabled

When IsCustomCrashReportingEnabled is set to TRUE, Windows won't send crash data to Microsoft endpoint.

public HRESULT put_IsCustomCrashReportingEnabled(BOOL value)

IsCustomCrashReportingEnabled is default to be FALSE, in this case, WebView will respect OS consent.