Partager via


CoreWebView2ProcessFailedEventArgs.Reason Property

Definition

Gets the reason for the process failure.

public Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason Reason { get; }
member this.Reason : Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason
Public ReadOnly Property Reason As CoreWebView2ProcessFailedReason

Property Value

Remarks

Some of the reasons are only applicable to specific values of ProcessFailedKind, and the following ProcessFailedKind values always return the indicated reason value:

ProcessFailedKind | Reason ---|--- `BrowserProcessExited` | `Unexpected` `RenderProcessUnresponsive` | `Unresponsive`

For other ProcessFailedKind values, the reason may be any of the reason values. To learn about what these values mean, see CoreWebView2ProcessFailedReason.

Applies to