IBackgroundCopyCallback::JobTransferred method

Delivery Optimization calls your implementation of the JobTransferred method when all of the files in the job have been successfully transferred.

Syntax

HRESULT JobTransferred(
  [in] IBackgroundCopyJob *pJob
);

Parameters

pJob [in]

Contains job-related information, such as the time the job completed, the number of bytes transferred, and the number of files transferred. Do not release pJob; Delivery Optimization releases the interface when the method returns.

Return value

This method should return S_OK.

Remarks

Typically, your implementation should call the IBackgroundCopyJob::Complete method to acknowledge that Delivery Optimization successfully transferred the files. Download files and the reply file are not available on the client until you call the Complete method.

If you do not call the Complete method or the IBackgroundCopyJob::Cancel method Delivery Optimization cancels the job after 30 days and deletes the incomplete files.

Requirements

Requirement Value
Minimum supported client
Windows 10, version 1709 [desktop apps only]
Minimum supported server
Windows Server, version 1709 [desktop apps only]
Header
Deliveryoptimization.h
IDL
DeliveryOptimization.idl
Library
Dosvc.lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyCallback is defined as 97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22

See also

IBackgroundCopyCallback

IBackgroundCopyJob

IBackgroundCopyJob::Complete

IBackgroundCopyJob::Cancel