다음을 통해 공유


CoreWebView2ProcessFailedEventArgs.FrameInfosForFailedProcess Property

Definition

Gets the collection of @CoreWebView2FrameInfo$s for frames in the @CoreWebView2 that were being rendered by the failed process. This is only available when @CoreWebView2ProcessFailedEventArgs.ProcessFailedKind is @CoreWebView2ProcessFailedKind$.FrameRenderProcessExited; the returned collection is empty for all other process failure kinds, including the case in which the failed process was the renderer for the main frame and subframes within it, for which the failure kind is @CoreWebView2ProcessFailedKind$.RenderProcessExited.

public System.Collections.Generic.IReadOnlyList<Microsoft.Web.WebView2.Core.CoreWebView2FrameInfo> FrameInfosForFailedProcess { get; }
member this.FrameInfosForFailedProcess : System.Collections.Generic.IReadOnlyList<Microsoft.Web.WebView2.Core.CoreWebView2FrameInfo>
Public ReadOnly Property FrameInfosForFailedProcess As IReadOnlyList(Of CoreWebView2FrameInfo)

Property Value

Remarks

The content in these frames is replaced with an error page. This is only available when ProcessFailedKind is FrameRenderProcessExited; the returned collection is empty for all other process failure kinds, including the case in which the failed process was the renderer for the main frame and subframes within it, for which the failure kind is RenderProcessExited.

Applies to