IBackgroundCopyFile 包含屬於作業一部分的檔案相關資訊。 例如,您可以使用 IBackgroundCopyFile 方法來擷取檔案的本機和遠端名稱,並傳輸進度資訊。
若要取得 IBackgroundCopyFile 介面指標,請呼叫 IBackgroundCopyError::GetFile 方法或 IEnumBackgroundCopyFiles::Next 方法。
成員
IBackgroundCopyFile介面繼承自IUnknown介面。 IBackgroundCopyFile 也有下列類型的成員:
方法
IBackgroundCopyFile介面具有這些方法。
| 方法 | Description |
|---|---|
| GetLocalName | 擷取檔案的本機名稱。 |
| GetProgress | 擷取檔案傳輸的進度。 |
| GetRemoteName | 擷取檔案的遠端名稱。 |
規格需求
| 需求 | 值 |
|---|---|
| 最低支援的用戶端 |
Windows 10 1709 版 [僅限傳統型應用程式] |
| 最低支援的伺服器 |
Windows Server 版本 1709 [僅限傳統型應用程式] |
| 標頭 |
|
| Idl |
|
| 程式庫 |
|
| DLL |
|
| IID |
IID_IBackgroundCopyFile定義為 01B7BD23-FB88-4A77-8490-5891D3E4653A |