Freigeben über


CoreWebView2NewWindowRequestedEventArgs.GetDeferral Method

Definition

Gets a Deferral object and put the event into a deferred state. Use this to Complete the window open request at a later time. While this event is deferred the opener window returns a WindowProxy to an un-navigated window, which navigates when the deferral is complete.

public Microsoft.Web.WebView2.Core.CoreWebView2Deferral GetDeferral ();
member this.GetDeferral : unit -> Microsoft.Web.WebView2.Core.CoreWebView2Deferral
Public Function GetDeferral () As CoreWebView2Deferral

Returns

Remarks

Use this to Complete() the window open request at a later time. While this event is deferred the opener window returns a WindowProxy to an un-navigated window, which navigates when the deferral is complete.

Applies to