IServerNotificationsUpdateAsync Method |
IT Hit User File System
Updates a file or folder on this virtual drive.
This method automatically hydrates and dehydrates files.
Namespace:
ITHit.FileSystem
Assembly:
ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 4.4.14419.0
SyntaxTask<bool> UpdateAsync(
IFileSystemItemMetadata itemInfo
)
Function UpdateAsync (
itemInfo As IFileSystemItemMetadata
) As Task(Of Boolean)
Task<bool>^ UpdateAsync(
IFileSystemItemMetadata^ itemInfo
)
abstract UpdateAsync :
itemInfo : IFileSystemItemMetadata -> Task<bool>
Parameters
- itemInfo
- Type: ITHit.FileSystemIFileSystemItemMetadata
New file or folder info.
Return Value
Type:
TaskBooleanTrue if the file was updated. False - otherwise, for example if the item does not exist in the user file system.
RemarksCall 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 returns false.
See Also