共用方式為


CoreWebView2SaveFileSecurityCheckStartingEventArgs.GetDeferral Method

Definition

Gets a Deferral object.

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

Returns

Remarks

It will put the event into a deferred state. The default policy checking and any default UI will be blocked temporarily, saving file to local won't start, until the deferral is completed.

Applies to