大网数据广告活动
网络与域名解析

BITS interfaces

· 52CE 我爱测

Use the following Background Intelligent Transfer Service (BITS) interfaces to transfer files and monitor jobs within the transfer queue.

Use the following Background Intelligent Transfer Service (BITS) interfaces to transfer files and monitor jobs within the transfer queue.

Interface Description
IBackgroundCopyCallback Clients implement the IBackgroundCopyCallback interface to receive notification that a job is complete, has been modified, or is in error.
IBackgroundCopyCallback2 Clients implement the IBackgroundCopyCallback2 interface to receive notification that a file has completed downloading.
IBackgroundCopyCallback3 Clients implement the IBackgroundCopyCallback3 interface to receive notification that ranges of a file have completed downloading.
IBackgroundCopyError Retrieves details of a job error.
IBackgroundCopyFile Retrieves the local and remote file names of a file transfer request in the job and its progress.
IBackgroundCopyFile2 Specifies a new remote name for the file and retrieves the list of ranges to download.
IBackgroundCopyFile3 Validates the file so that peers can request its content and retrieves the name of the temporary file.
IBackgroundCopyFile4 Retrieves download statistics for peers and origin servers.
IBackgroundCopyFile5 Provides generic property get and set methods for BackgroundCopyFile properties.
IBackgroundCopyFile6 Gets or sets generic properties of BITS file transfers.
IBackgroundCopyJob Adds files to the job, sets the priority level of the job, determines the state of the job, and starts and stops the job.
IBackgroundCopyJob2 Retrieves reply data from an upload job, determines the progress of the reply data transfer to the client, requests command line execution, and provides credentials for a proxy and remote server.
IBackgroundCopyJob3 Downloads ranges of a file, changes the prefix of a remote file name, and maintains the owner and ACL information with the file.
IBackgroundCopyJob4 Enables peer caching, restrict download time, and inspect user token characteristics.
IBackgroundCopyJob5 Queries or sets several optional behaviors of a job.
IBackgroundCopyJobHttpOptions Specifies client certificates for certificate-based client authentication and custom headers for HTTP requests.
IBackgroundCopyJobHttpOptions2 Use this interface to retrieve and/or to override the HTTP method used for a BITS transfer.
IBackgroundCopyManager Creates transfer jobs, retrieves an enumerator object of jobs in the queue, and retrieves individual jobs from the queue.
IBitsPeer Gets information about a peer in the neighborhood.
IBitsPeerCacheAdministration Manage the pool of peers from which you can download content.
IBitsPeerCacheRecord Gets information about a file in the cache.
IBitsTokenOptions Associates and manages a pair of security tokens for a Background Intelligent Transfer Service (BITS) transfer job.
IEnumBackgroundCopyFiles Enumerates files in the job.
IEnumBackgroundCopyJobs Enumerates jobs in the transfer queue.
IEnumBitsPeerCacheRecords Enumerates the records of the cache.
IEnumBitsPeers Enumerates the list of peers that BITS has discovered.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 01/08/2019
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。