IClientNotificationsGetLockModeAsync Method |
IT Hit User File System
Gets the lock mode indicating if the item was locked manually or automatically or
None if the item is not locked.
Namespace:
ITHit.FileSystem.Windows
Assembly:
ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.1.26727.0-Beta2
Syntax Task<LockMode> GetLockModeAsync(
CancellationToken cancellationToken = null
)
Function GetLockModeAsync (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of LockMode)
Task<LockMode>^ GetLockModeAsync(
CancellationToken cancellationToken = nullptr
)
abstract GetLockModeAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<LockMode>
Parameters
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.
Return Value
Type:
TaskLockModeLock mode.
Remarks See Also