Click or drag to resize

IServerNotificationsMoveToAsync Method (Byte, String, IFileSystemItemMetadata)

IT Hit User File System
Moves the file or folder placeholder in the user file system by remote storage item ID. Automatically creates the target or deletes source depending on items existance.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.4.27341.0
Syntax
Task<OperationResult> MoveToAsync(
	byte[] targetParentRemoteStorageId,
	string targetFileName,
	IFileSystemItemMetadata metadata
)

Parameters

targetParentRemoteStorageId
Type: SystemByte
Target parent folder remote storage item ID.
targetFileName
Type: SystemString
Target file name.
metadata
Type: ITHit.FileSystemIFileSystemItemMetadata
This data will be used in case the source does not exists.

Return Value

Type: TaskOperationResult
Operation result, indicating if the operation was successfull and how many items was affected. If operation failed contains a reason for the failure.
Remarks
Semantics of this method is identical to MoveToAsync(String, IFileSystemItemMetadata) except this method identifies the target path using targetParentRemoteStorageId and targetFileName parameters.
See Also