C# Class 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.
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: OpenDataSpace/CmisSync Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
NotifyPropertyChanged ( string propertyName ) : void

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

Transmission ( ) : System

Method Details

Abort() public méthode

Abort the transmission async.
public Abort ( ) : void
Résultat void

CreateStream() public méthode

Creates the stream.
public CreateStream ( Stream wrappedStream ) : Stream
wrappedStream Stream Wrapped stream.
Résultat Stream

GetHashCode() public méthode

Serves as a hash function for a CmisSync.Lib.FileTransmission.TransmissionController object.
public GetHashCode ( ) : int
Résultat int

Pause() public méthode

Pause the transmission async.
public Pause ( ) : void
Résultat void

Resume() public méthode

Resume the transmission async.
public Resume ( ) : void
Résultat void

Transmission() public méthode

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 ///
Résultat System