IBackgroundCopyJob4 interface (bits3_0.h)

Use this interface to enable peer caching, restrict download time, and inspect user token characteristics.

To get this interface, call the IBackgroundCopyJob::QueryInterface method using __uuidof(IBackgroundCopyJob4) as the interface identifier.

Inheritance

The IBackgroundCopyJob4 interface inherits from IBackgroundCopyJob, IBackgroundCopyJob2, and IBackgroundCopyJob3. IBackgroundCopyJob4 also has these types of members:

Methods

The IBackgroundCopyJob4 interface has these methods.

 
IBackgroundCopyJob4::GetMaximumDownloadTime

Retrieves the maximum time that BITS will spend transferring the files in the job.
IBackgroundCopyJob4::GetOwnerElevationState

Gets a value that determines if the token of the owner was elevated at the time they created or took ownership of the job.
IBackgroundCopyJob4::GetOwnerIntegrityLevel

Gets the integrity level of the token of the owner that created or took ownership of the job.
IBackgroundCopyJob4::GetPeerCachingFlags

Retrieves flags that determine if the files of the job can be cached and served to peers and if BITS can download content for the job from peers.
IBackgroundCopyJob4::SetMaximumDownloadTime

Sets the maximum time that BITS will spend transferring the files in the job.
IBackgroundCopyJob4::SetPeerCachingFlags

Sets flags that determine if the files of the job can be cached and served to peers and if the job can download content from peers.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header bits3_0.h (include Bits.h)
Redistributable BITS 2.5 on Windows Server 2003, Windows XP

See also

IBackgroundCopyJob

IBackgroundCopyJob2

IBackgroundCopyJob3