共用方式為


CoreWebView2DownloadOperation.Pause Method

Definition

Pauses the download. If paused, the default download dialog shows that the download is paused. No effect if download is already paused. Pausing a download changes the state from in progress to interrupted, with interrupt reason set to @CoreWebView2DownloadInterruptReason$.UserCanceled.

public void Pause ();
member this.Pause : unit -> unit
Public Sub Pause ()

Remarks

If paused, the default download dialog shows that the download is paused. No effect if download is already paused. Pausing a download changes the state from in progress to interrupted, with interrupt reason set to UserCanceled.

Applies to