CoreWebView2ScreenCaptureStartingEventArgs.GetDeferral Method

Definition

Returns a CoreWebView2Deferral object.

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 deferral to defer the decision to show the Screen Capture UI. getDisplayMedia() won't call its callbacks until the deferral is completed.

Applies to