Aracılığıyla paylaş


CoreWebView2ScreenCaptureStartingEventArgs.GetDeferral Method

Definition

Gets a Deferral object. Use this deferral to defer the decision to show the Screen Capture UI. getDisplayMedia() won't call its callbacks until the deferral is completed.

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