Defines constant values for the different states of a job.
usis.Net.Bits (in usis.Net.Bits.dll) Version: 126.96.36.199 (188.8.131.52)
public enum BackgroundCopyJobState
Public Enumeration BackgroundCopyJobState
public enum class BackgroundCopyJobState
Specifies that the job is in the queue and waiting to run.
If a user logs off while their job is transferring,
the job transitions to the queued state.
Specifies that BITS is trying to connect to the server.
If the connection succeeds,
the state of the job becomes Transferring;
otherwise, the state becomes Error.
Specifies that BITS is transferring data for the job.
Specifies that the job is suspended (paused).
To suspend a job, call the
BITS automatically suspends a job when it is created.
The job remains suspended until you call the
Specifies that a non-recoverable error occurred
(the service is unable to transfer the file).
If the error, such as an access-denied error,
can be corrected, call the
method after the error is fixed. However,
if the error cannot be corrected, call the
to cancel the job, or call the
to accept the portion of a download job
that transferred successfully.
Specifies that a recoverable error occurred.
BITS will retry jobs in the transient error state
based on the retry interval you specify
The state of the job changes to Error
if the job fails to make progress
BITS does not retry the job if a network disconnect
or disk lock error occurred
(for example, chkdsk is running)
or the MaxInternetBandwidth Group Policy is zero.
Specifies that your job was successfully processed.
You must call the Complete
method to acknowledge completion of the job
and to make the files available to the client.
Specifies that you called the Complete
method to acknowledge that your job completed successfully.
Specifies that you called the Cancel
method to cancel the job (remove the job from the transfer queue).