Click or drag to resize

ILockLockAsync Method

IT Hit User File System
Locks this item in the remote storage.

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 3.3.9602.0
Syntax
Task LockAsync(
	LockMode lockMode
)

Parameters

lockMode
Type: ITHit.FileSystem.WindowsLockMode
Indicates automatic or manual lock.

Return Value

Type: Task

[Missing <returns> documentation for "M:ITHit.FileSystem.Windows.ILock.LockAsync(ITHit.FileSystem.Windows.LockMode)"]

Remarks

This method implementation must lock the item in the remote storage and save the received the lock-token on the client. You will supply the lock-token as part of your next server update request in WriteAsync(IFileMetadata, Stream, IOperationContext) and WriteAsync(IFolderMetadata, IOperationContext).

You must also save the lock mode to be returned from GetLockModeAsync method when requested by the Engine.

See Also