Click or drag to resize

IServerNotificationsDeleteAsync Method

IT Hit User File System
Deletes a file or folder from this virtual drive.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 3.3.9602.0
Syntax
Task<bool> DeleteAsync()

Return Value

Type: TaskBoolean
True if the file was deleted. False - otherwise, for example if the item does not exist in the user file system.
Remarks

Call this method from your remote storage monitor when a file or folder is deleted in the remote storage.

This method throws ConflictException if the file or folder or any file or folder in the folder hierarchy being deleted in user file system is modified (not in sync with the remote storage).

Because of the on-demand loading, the item may not exist in the user file system. In this case the item will not be deleted and this method will return false.

See Also