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: 7.0.22158.0-Beta
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 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