Click or drag to resize

IServerNotificationsDeleteAsync Method

IT Hit User File System
Deletes a file or folder from the user file system.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.0.26019.0-Beta+92e3f56e17dbfd6ebbef85925c0684282db3d967
Task<OperationResult> DeleteAsync()

Return Value

Type: TaskOperationResult
True if the file was deleted. False - otherwise, for example if the item does not exist in the user file system or if it was blocked by a concurrent thread.

Call this method from your remote storage monitor when a file or folder is deleted in 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