IBatch Interface |
Namespace: ITHit.FileSystem
The IBatch type exposes the following members.
Name | Description | |
---|---|---|
![]() | CreateAsync |
Called when one or more items needs to be created in the remote storage.
|
![]() | DeleteAsync |
Called when one or more items needs to be deleted in the remote storage.
|
![]() | MoveAsync |
Called when one or more items needs to be moved in the remote storage.
|
![]() | UpdateAsync |
Called when one or more items needs to be updated in the remote storage.
|
If this interface is implemented on the Engine object, methods of this isnterface are called during the [!:EngineWindows.ProcessAsync] method call.
To indicate that the operation was succesefull, set the SetInSync property of each Operation object to true. The list of Operation objects is passed to each of the CreateAsync(IEnumerableOperation, CancellationToken), MoveAsync(IEnumerableMoveOperation, CancellationToken), UpdateAsync(IEnumerableOperation, CancellationToken) and DeleteAsync(IEnumerableOperation, CancellationToken) methods. If the SetInSync property is set to false, the operation is considered unsuccesefull and the file system item does not change it's state.