C# Class SharpBits.Base.BitsJob

Inheritance: IDisposable
Afficher le fichier Open project: robertbaker/SevenUpdate Class Usage Examples

Private Properties

Свойство Type Description
AddFiles void
BitsJob System
Dispose void
JobError void
JobModified void
JobTransferred void
PublishException void

Méthodes publiques

Méthode Description
AddFile ( BitsFileInfo fileInfo ) : void

Adds the file.

AddFile ( string remoteName, string localName ) : void

Adds the file.

AddFiles ( Collection files ) : void

Adds the files the current BitsJob.

Cancel ( ) : void

Cancels the BitsJob.

Complete ( ) : void

Completes and removes the BitsJob from the collection.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

EnumerateFiles ( ) : void

Enumerate the BitsFile collection.

Resume ( ) : void

Resumes the BitsJob.

Suspend ( ) : void

Suspends the BitsJob.

TakeOwnership ( ) : void

Takes the ownership.

Private Methods

Méthode Description
AddFiles ( BGFileInfo files ) : void

Adds the files to the current job.

BitsJob ( BitsManager manager, IBackgroundCopyJob job ) : System

Initializes a new instance of the BitsJob class.

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

JobError ( object sender, ErrorNotificationEventArgs e ) : void

Fires the event when the job has occurred an error.

JobModified ( object sender ) : void

Fires the event when the job has been modified.

JobTransferred ( object sender ) : void

Fires the event when the job has transferred.

PublishException ( COMException exception ) : void

Publishes the exception.

Method Details

AddFile() public méthode

Adds the file.
public AddFile ( BitsFileInfo fileInfo ) : void
fileInfo BitsFileInfo The file info.
Résultat void

AddFile() public méthode

Adds the file.
public AddFile ( string remoteName, string localName ) : void
remoteName string Name of the remote.
localName string Name of the local.
Résultat void

AddFiles() public méthode

Adds the files the current BitsJob.
public AddFiles ( Collection files ) : void
files Collection The files.
Résultat void

Cancel() public méthode

Cancels the BitsJob.
public Cancel ( ) : void
Résultat void

Complete() public méthode

Completes and removes the BitsJob from the collection.
public Complete ( ) : void
Résultat void

Dispose() public méthode

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
Résultat void

EnumerateFiles() public méthode

Enumerate the BitsFile collection.
public EnumerateFiles ( ) : void
Résultat void

Resume() public méthode

Resumes the BitsJob.
public Resume ( ) : void
Résultat void

Suspend() public méthode

Suspends the BitsJob.
public Suspend ( ) : void
Résultat void

TakeOwnership() public méthode

Takes the ownership.
public TakeOwnership ( ) : void
Résultat void