Click or drag to resize

ILockGetLockModeAsync Method

IT Hit User File System
Gets item lock mode or None if the item is not locked.

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 3.3.9602.0
Syntax
Task<LockMode> GetLockModeAsync()

Return Value

Type: TaskLockMode
Lock mode indicating if the item was locked manually or automatically or None if the item is not locked.
Remarks

You will return the lock mode passed to LockAsync(LockMode) method from this method implementation.

This method is also used to detect if the item is locked. Return None if the item is not locked. The Engine will call LockAsync(LockMode) only if this method returns None. The Engine will unlock the item automatically by calling UnlockAsync after update only if this method returns Auto.

See Also