DownloadingOperationStateChanged

Description

Occurs when the download operation state is changed.

Syntax

DownloadingOperationStateChanged (integer itemId, integer operationstate, string interruptReason, boolean canResume)

Event ID

Event ID

Objects

None

WebBrowser controls


Arguments

Argument

Description

itemId

The ID of the download item, which starts from 1.

operationstate

The download state. The values are:

  • 0 -- Being downloaded

  • 1 -- Download has completed

  • 2 -- Download was interrupted

interruptReason

The reason why the download was interrupted.

canResume

Specifies whether the current download operation can be resumed.

  • TRUE -- The current download operation can be resumed.

  • FALSE -- The current download operation cannot be resumed.


Return Values

None

See also

AddressChange

CertificateError

DownloadingStart

EvaluateJavascriptFinished

NavigationError

NavigationProgressIndex

NavigationStart

NavigationStateChanged

PdfPrintFinished

ResourceRedirect

TitleTextChanged

DownloadingStateChanged