IBackgroundCopyFile 介面 (bits.h)

IBackgroundCopyFile 包含屬於作業一部分的檔案相關信息。 例如,您可以使用 IBackgroundCopyFile 方法來擷取檔案的本機和遠端名稱,以及傳輸進度資訊。

若要取得 IBackgroundCopyFile 介面指標,請呼叫 IBackgroundCopyError::GetFile 方法或 IEnumBackgroundCopyFiles::Next 方法。

繼承

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

方法

IBackgroundCopyFile 介面具有這些方法。

 
IBackgroundCopyFile::GetLocalName

擷取檔案的本機名稱。
IBackgroundCopyFile::GetProgress

擷取檔傳輸進度的相關信息。
IBackgroundCopyFile::GetRemoteName

擷取檔案的遠端名稱。

規格需求

需求
最低支援的用戶端 Windows XP
最低支援的伺服器 Windows Server 2003
目標平台 Windows
標頭 bits.h

另請參閱

IBackgroundCopyError

IBackgroundCopyFile2

IBackgroundCopyJob

IEnumBackgroundCopyFiles