IBackgroundCopyManager interface

Creates transfer jobs, retrieves an enumerator object that contains the jobs in the queue, and retrieves individual jobs from the queue.

For information on how to create an instance of this interface, see Connecting to the BITS Service.

Methods

The IBackgroundCopyManager interface has these methods.

Method Description
IBackgroundCopyManager::CreateJob Creates a job.
IBackgroundCopyManager::EnumJobs Retrieves an interface pointer to an enumerator object that you use to enumerate the jobs in the transfer queue. The order of the jobs in the enumerator is arbitrary.
IBackgroundCopyManager::GetErrorDescription Retrieves a description for the specified error code.
IBackgroundCopyManager::GetJob Retrieves a specified job from the transfer queue. Typically, your application persists the job identifier, so you can later retrieve the job from the queue.

Remarks

Windows Vista and later:  When an ActiveX control tries to instantiate this interface from an Internet Explorer process, the call will fail with access denied. This is because COM does not allow lower-integrity clients to bind to class instances at higher integrity levels. For details, see Understanding and Working in Protected Mode Internet Explorer and How the Integrity Mechanism Is Implemented in Windows Vista. A user can workaround the issue by adding the website to the Trusted site zone.

Requirements

   
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header bits.h

See Also

IBackgroundCopyJob

IEnumBackgroundCopyJobs