Export (0) Print
Expand All

IBackgroundCopyJob4 interface

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.

Members

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

Methods

The IBackgroundCopyJob4 interface has these methods.

MethodDescription
GetMaximumDownloadTime

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

GetOwnerElevationState

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

GetOwnerIntegrityLevel

Get the integrity level of the token of the owner that created or took ownership of the job.

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.

SetMaximumDownloadTime

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

SetPeerCachingFlags

Sets 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.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Redistributable

BITS 2.5 on Windows Server 2003, Windows XP

Header

Bits2_5.h (include Bits.h)

IDL

Bits2_5.idl

Library

Bits.lib

DLL

BitsPrx4.dll

IID

IID_IBackgroundCopyJob4 is defined as 659cdeae-489e-11d9-a9cd-000d56965251

See also

IBackgroundCopyJob
IBackgroundCopyJob2
IBackgroundCopyJob3

 

 

Community Additions

ADD
Show:
© 2014 Microsoft