Click or drag to resize

EngineStartAsync Method

IT Hit User File System
Starts listening and processing file system calls from operating system.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.0.26019.0-Beta+92e3f56e17dbfd6ebbef85925c0684282db3d967
Syntax
public abstract Task StartAsync(
	bool processChanges = true,
	CancellationToken cancellationToken = null
)

Parameters

processChanges (Optional)
Type: SystemBoolean
If this parameter is true, syncs changes made in the user file system when the Engine was not running to the remote storage.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

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

Mounts custom user file system.

If processChanges parameter is true and any files or folders were created, updated, deleted, moved, pinned or unpinned in the user file system, the Engine will call IFile and IFolder interface methods to sync changes from the user file system to the remote storage when starting.

Otherwise changes will not be processed. To process changes you will call [!:Engine.ProcessAsync] method when needed.

See Also