BitsJob Class
Provides a wrapper for Background Intelligent Transfer Service (BITS) jobs.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Inheritance Hierarchy
System.Object
Microsoft.ConfigurationManagement.Messaging.Framework.BitsJob
Syntax
[SerializableAttribute]
public sealed class BitsJob
[SerializableAttribute]
public ref class BitsJob sealed
<SerializableAttribute>
Public NotInheritable Class BitsJob
Constructors
Name | Description | |
---|---|---|
BitsJob(BitsJobType, String) | Initializes a new instance of the BitsJob class. |
Properties
Name | Description | |
---|---|---|
JobId | Gets the BITS job ID. |
|
JobType | Gets the BITS job type. |
Methods
Name | Description | |
---|---|---|
AddCertificate(MessageCertificateX509File) | Adds an X.509 certificate for client authentication. |
|
AddCredentials(BitsAuthScheme, BitsAuthTarget, NetworkCredential) | Adds credentials to the BITS job. If the credential scheme is already represented, the credential is replaced. |
|
AddFilesToJob(IEnumerable<BitsFileInfo>) | Adds a set of files to the BITS job. |
|
AddFileToJob(Uri, String) | Adds a file to the BITS job. |
|
Cancel() | Cancels the BITS job. |
|
Complete() | Completes the BITS job. This method is called automatically if the job completes successfully. |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
Resume() | Resumes or starts the BITS job. |
|
SetJobNotificationFlags(BitsJobNotificationType) | Sets the notification flags for the BITS job. |
|
SetJobPriority(BitsJobPriority) | Sets a priority for the job. |
|
SetNoProgressTimeout(UInt32) | Sets the timeout, in seconds, for when there is no progress on the job. |
|
SetProxySettings(BitsJobProxyUsage, String, String) | Sets the proxy settings for a BITS job. For more information about the arguments for this method, see IBackgroundCopyJob::SetProxySettings method. |
|
Suspend() | Suspends the BITS job. |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
BitsJobProgress | Event raised when a BITS job is updated. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top