C# Класс CmisSync.Lib.FileTransmission.Transmission

File transmission event. This event should be queued only once. The progress will not be reported on the queue. Interested entities should add themselfs as TransmissionEventHandler on the event TransmissionStatus to get informed about the progress.
Наследование: INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Abort ( ) : void

Abort the transmission async.

CreateStream ( Stream wrappedStream ) : Stream

Creates the stream.

GetHashCode ( ) : int

Serves as a hash function for a CmisSync.Lib.FileTransmission.TransmissionController object.

Pause ( ) : void

Pause the transmission async.

Resume ( ) : void

Resume the transmission async.

Transmission ( TransmissionType type, string path, string cachePath = null ) : System

Initializes a new instance of the CmisSync.Lib.FileTransmission.Transmission class.

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

Метод Описание
NotifyPropertyChanged ( string propertyName ) : void

This method is called by the Set accessor of each property.

Transmission ( ) : System

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

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

Abort the transmission async.
public Abort ( ) : void
Результат void

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

Creates the stream.
public CreateStream ( Stream wrappedStream ) : Stream
wrappedStream Stream Wrapped stream.
Результат Stream

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

Serves as a hash function for a CmisSync.Lib.FileTransmission.TransmissionController object.
public GetHashCode ( ) : int
Результат int

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

Pause the transmission async.
public Pause ( ) : void
Результат void

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

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

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

Initializes a new instance of the CmisSync.Lib.FileTransmission.Transmission class.
public Transmission ( TransmissionType type, string path, string cachePath = null ) : System
type TransmissionType /// Type of the transmission. ///
path string /// Path to the file of the transmission. ///
cachePath string /// If a download runs and a cache file is used, this should be the path to the cache file ///
Результат System