EngineWindowsStartAsync Method |
IT Hit User File System
Starts listening and processing file system calls from operating system.
Namespace:
ITHit.FileSystem.Windows
Assembly:
ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.4.27341.0
Syntax public override Task StartAsync(
bool processModified = true,
CancellationToken cancellationToken = null
)
Public Overrides Function StartAsync (
Optional processModified As Boolean = true,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ StartAsync(
bool processModified = true,
CancellationToken cancellationToken = nullptr
) override
abstract StartAsync :
?processModified : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _processModified = defaultArg processModified true
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task
override StartAsync :
?processModified : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _processModified = defaultArg processModified true
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task
Parameters
- processModified (Optional)
- Type: SystemBoolean
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.
Return Value
Type:
TaskA task object that can be awaited.
Remarks
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. On Windows platform, to process changes, you will call the
[!:Engine.SyncService.Outgoing.ProcessAsync] method when needed.
See Also