IBackgroundCopyFile2 介面 (bits2_0.h)

使用 IBackgroundCopyFile2 介面來指定檔案的新遠端名稱,並擷取要下載的範圍清單。

IBackgroundCopyFile2 介面繼承自 IBackgroundCopyFile 介面。

若要取得 IBackgroundCopyFile2 介面指標,請使用介面標識碼的 IBackgroundCopyFile2 __uuidof (IBackgroundCopyFile2) 呼叫 IBackgroundCopyFile::QueryInterface 方法。 使用 IBackgroundCopyFile2 介面指標來呼叫 IBackgroundCopyFileIBackgroundCopyFile2 方法。

繼承

IBackgroundCopyFile2 介面繼承自 IBackgroundCopyFileIBackgroundCopyFile2 也有下列類型的成員:

方法

IBackgroundCopyFile2 介面具有這些方法。

 
IBackgroundCopyFile2::GetFileRanges

從遠端檔案擷取您想要下載的範圍。
IBackgroundCopyFile2::SetRemoteName

將遠端名稱變更為下載作業中的新 URL。

規格需求

需求
最低支援的用戶端 Windows Vista、Windows XP 與 Windows Server 2003 上的 SP2、KB842773 和 Windows XP
最低支援的伺服器 Windows Server 2008、Windows Server 2003 SP1
目標平台 Windows
標頭 bits2_0.h (包含 Bits.h)

另請參閱

IBackgroundCopyFile