Compartilhar via


CoreWebView2ProcessFailedReason Enum

Definition

Specifies the process failure reason used in the ICoreWebView2ProcessFailedEventArgs interface. For process failures where a process has exited, it indicates the type of issue that produced the process exit.

public enum CoreWebView2ProcessFailedReason
type CoreWebView2ProcessFailedReason = 
Public Enum CoreWebView2ProcessFailedReason
Inheritance
CoreWebView2ProcessFailedReason

Fields

Name Value Description
Unexpected 0

An unexpected process failure occurred.

Unresponsive 1

The process became unresponsive. This only applies to the main frame's render process.

Terminated 2

The process was terminated. For example, from Task Manager.

Crashed 3

The process crashed. Most crashes will generate dumps in the location indicated by ICoreWebView2Environment11::get_FailureReportFolderPath.

LaunchFailed 4

The process failed to launch.

OutOfMemory 5

The process terminated due to running out of memory.

ProfileDeleted 6

Deprecated. This value is unused.

NormalExit 7

The process exited normally (exit code 0). This typically indicates a clean or transparent process shutdown.

AbnormalExit 8

The process exited abnormally (non-zero exit code). This indicates an unexpected termination that is not a crash or kill.

IntegrityFailure 9

The OS terminated the process due to a code integrity failure. This indicates a DLL failed Windows Code Integrity verification.

Applies to