Click or drag to resize

IServerNotificationsUpdateAsync Method

IT Hit User File System
Updates a file or folder on this virtual drive. This method automatically hydrates and dehydrate files.

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

Parameters

itemInfo
Type: ITHit.FileSystemIFileSystemItemMetadata
New file or folder info.

Return Value

Type: TaskBoolean
True if the file was updated. 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 updated in the remote storage.

This method failes if the file or folder 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 updated and this method will return false.

See Also