(0) exportieren Drucken
Alle erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IBackgroundCopyJob2 interface

Use the IBackgroundCopyJob2 interface to retrieve reply data from an upload-reply job, determine the progress of the reply data transfer to the client, request command line execution, and provide credentials for proxy and remote server authentication requests.

The IBackgroundCopyJob2 interface inherits from the IBackgroundCopyJob interface.

To get an IBackgroundCopyJob2 interface pointer, call the IBackgroundCopyJob::QueryInterface method using __uuidof(IBackgroundCopyJob2) for the interface identifier. Use the IBackgroundCopyJob2 interface pointer to call both the IBackgroundCopyJob and IBackgroundCopyJob2 methods.

Members

The IBackgroundCopyJob2 interface inherits from IBackgroundCopyJob. IBackgroundCopyJob2 also has these types of members:

Methods

The IBackgroundCopyJob2 interface has these methods.

MethodDescription
GetNotifyCmdLine

Retrieves the program that is executed when the job enters the error or transferred state.

GetReplyData

Retrieves an in-memory copy of the reply data.

GetReplyFileName

Retrieves the name of the file that contains the reply data.

GetReplyProgress

Retrieves progress information that indicates how many bytes of the reply file have been downloaded to the client.

RemoveCredentials

Removes credentials set by the SetCredentials method.

SetCredentials

Specifies the credentials to use for a proxy or server user authentication.

SetNotifyCmdLine

Specifies a program to execute when the job enters the error or transferred state.

SetReplyFileName

Specifies the name of the file to contain the reply data of an upload-reply job.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Redistributable

BITS 1.5 on Windows XP

Header

Bits1_5.h (include Bits.h)

IDL

Bits1_5.idl

Library

Bits.lib

DLL

BitsPrx2.dll

IID

IID_IBackgroundCopyJob2 is defined as 54B50739-686F-45EB-9DFF-D6A9A0FAA9AF

See also

IBackgroundCopyJob

 

 

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2014 Microsoft