Compartilhar via


CoreWebView2DownloadState Enum

Definition

State of the download operation.

public enum CoreWebView2DownloadState
type CoreWebView2DownloadState = 
Public Enum CoreWebView2DownloadState
Inheritance
CoreWebView2DownloadState

Fields

Name Value Description
InProgress 0

The download is in progress.

Interrupted 1

The connection with the file host was broken. The InterruptReason property can be accessed from ICoreWebView2DownloadOperation. See COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON for descriptions of kinds of interrupt reasons. Host can check whether an interrupted download can be resumed with the CanResume property on the ICoreWebView2DownloadOperation. Once resumed, a download is in the COREWEBVIEW2_DOWNLOAD_STATE_IN_PROGRESS state.

Completed 2

The download completed successfully.

Applies to