Click or drag to resize

OutgoingSyncProcessAsync Method

IT Hit User File System
Processes items that were created, moved, updated and deleted in the user file system, synching all thems to the remote storage.

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.1.26791.0-Beta2
Syntax
public Task ProcessAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

Type: Task
A task object that can be awaited.
Remarks

By default this method is called automatically by the SyncService. It is also called by the StartAsync(Boolean, CancellationToken) if true is passed as a parameter (default).

Calling this method will trigger user file system to the remote storage synchronization. The Engine will call methods of the IFile and IFolder interfaces.

  • To process all changes that were performed when the Engine was not running.
  • After the connection to the server is restored.
  • After succesefull authentication.
  • To find and process all items that failed to sync to the server for any reason.

See Also