IDownloadJob interface

Contains properties and methods that are available to a download operation. This interface is returned by the IUpdateDownloader.BeginDownload method.

Members

The IDownloadJob interface inherits from the IDispatch interface. IDownloadJob also has these types of members:

  • Methods
  • Properties

Methods

The IDownloadJob interface has these methods.

Method Description
CleanUp

Waits for an asynchronous operation to be completed and releases all callbacks.

GetProgress

Returns an IDownloadProgress interface that describes the current progress of a download.

RequestAbort

Makes a request to end an asynchronous download.

 

Properties

The IDownloadJob interface has these properties.

Property Access type Description

AsyncState

Read-only

Gets the caller-specific state object that is passed to the IUpdateDownloader.BeginDownload method.

IsCompleted

Read-only

Gets the setting that indicates whether the call to IUpdateDownloader.BeginDownload was processed completely.

Updates

Read-only

Gets an interface that contains a read-only collection of the updates that are specified in a download.

 

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

IID

IID_IDownloadJob is defined as C574DE85-7358-43F6-AAE8-8697E62D8BA7