iDownloadProgress 介面 (wuapi.h)

表示異步下載作業的進度。

繼承

IDownloadProgress 介面繼承自 IDispatch 介面。 IDownloadProgress 也有下列類型的成員:

方法

IDownloadProgress 介面具有這些方法。

 
IDownloadProgress::get_CurrentUpdateBytesDownloaded

取得字串,指定已針對正在下載之更新的內容檔案或檔案傳輸多少數據,以位元組為單位。
IDownloadProgress::get_CurrentUpdateBytesToDownload

取得字串,以位元組為單位,估計要針對所下載更新的內容檔案或檔案傳輸多少數據。
IDownloadProgress::get_CurrentUpdateDownloadPhase

取得 DownloadPhase 列舉值,指定目前正在執行的下載階段。
IDownloadProgress::get_CurrentUpdateIndex

取得以零起始的索引值,指定選取多個更新時目前正在下載的更新。
IDownloadProgress::get_CurrentUpdatePercentComplete

取得已下載之目前更新百分比的估計值。
IDownloadProgress::get_PercentComplete

取得已下載之所有更新百分比的估計值。
IDownloadProgress::get_TotalBytesDownloaded

取得字串,指定已下載的數據總數,以位元組為單位。
IDownloadProgress::get_TotalBytesToDownload

取得字串,表示將下載之數據總數的估計,以位元組為單位。
IDownloadProgress::GetUpdateResult

傳回所指定更新下載的結果。

規格需求

需求
最低支援的用戶端 Windows XP、Windows 2000 Professional 與 SP3 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003、Windows 2000 Server 與 SP3 [僅限桌面應用程式]
目標平台 Windows
標頭 wuapi.h