CoreWebView2ProcessFailedEventArgs.Reason Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.