Click or drag to resize

BackgroundCopyManagerGetJob Method (Guid, Boolean)

Retrieves a given job from the transfer queue.

Namespace:  usis.Net.Bits
Assembly:  usis.Net.Bits (in usis.Net.Bits.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
public BackgroundCopyJob GetJob(
	Guid jobId,
	bool throwNotFoundException
)

Parameters

jobId
Type: SystemGuid
A Guid that identifies the job to retrieve from the transfer queue.
throwNotFoundException
Type: SystemBoolean
If set to true an exception is thrown when the job was not found.

Return Value

Type: BackgroundCopyJob
A BackgroundCopyJob object that represents the job specified by jobId.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe method was called after the object was disposed.
BackgroundCopyExceptionAn error occured during a BITS method call.
Remarks
Typically, your application persists the job identifier, so you can later retrieve the job from the queue.
See Also