C# Класс SharpBits.Base.BitsJob

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddFiles void
BitsJob System
Dispose void
JobError void
JobModified void
JobTransferred void
PublishException void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

AddFile() публичный Метод

Adds the file.
public AddFile ( BitsFileInfo fileInfo ) : void
fileInfo BitsFileInfo The file info.
Результат void

AddFile() публичный Метод

Adds the file.
public AddFile ( string remoteName, string localName ) : void
remoteName string Name of the remote.
localName string Name of the local.
Результат void

AddFiles() публичный Метод

Adds the files the current BitsJob.
public AddFiles ( Collection files ) : void
files Collection The files.
Результат void

Cancel() публичный Метод

Cancels the BitsJob.
public Cancel ( ) : void
Результат void

Complete() публичный Метод

Completes and removes the BitsJob from the collection.
public Complete ( ) : void
Результат void

Dispose() публичный Метод

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
Результат void

EnumerateFiles() публичный Метод

Enumerate the BitsFile collection.
public EnumerateFiles ( ) : void
Результат void

Resume() публичный Метод

Resumes the BitsJob.
public Resume ( ) : void
Результат void

Suspend() публичный Метод

Suspends the BitsJob.
public Suspend ( ) : void
Результат void

TakeOwnership() публичный Метод

Takes the ownership.
public TakeOwnership ( ) : void
Результат void