Click or drag to resize

IClientNotificationsLockAsync Method

IT Hit User File System
Locks the file in the remote storage. When this method is called the Engine calls the LockAsync(LockMode) method.

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

Parameters

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

Return Value

Type: Task

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

Exceptions
ExceptionCondition
ClientLockFailedException Thrown when a file can not be locked. For example when a lock-token file is blocked from another thread, during update, lock and unlock operations.
See Also