Task LockAsync( LockMode lockMode )
Function LockAsync ( lockMode As LockMode ) As Task
Task^ LockAsync( LockMode lockMode )
abstract LockAsync : lockMode : LockMode -> Task
[Missing <returns> documentation for "M:ITHit.FileSystem.Windows.ILock.LockAsync(ITHit.FileSystem.Windows.LockMode)"]
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.