IHierarchyItemGetSupportedLockAsync Method
IT Hit WebDAV Classes Reference Note: This API is now obsolete.
Retrieves information about supported locks.
Namespace:
ITHit.WebDAV.Client
Assembly:
ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax [ObsoleteAttribute]
Task<LockScope[]> GetSupportedLockAsync(
IDictionary<string, string> headers = null,
CancellationToken cancellationToken = null
)
<ObsoleteAttribute>
Function GetSupportedLockAsync (
Optional headers As IDictionary(Of String, String) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of LockScope())
[ObsoleteAttribute]
Task<array<LockScope>^>^ GetSupportedLockAsync(
IDictionary<String^, String^>^ headers = nullptr,
CancellationToken cancellationToken = nullptr
)
[<ObsoleteAttribute>]
abstract GetSupportedLockAsync :
?headers : IDictionary<string, string> *
?cancellationToken : CancellationToken
(* Defaults:
let _headers = defaultArg headers null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<LockScope[]>
Parameters
- headers (Optional)
- Type: System.Collections.GenericIDictionaryString, String
Request headers. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.
Return Value
Type:
TaskLockScopeArray of supported lock types.
Exceptions Remarks Empty array is returned if item does not support any locks.
See Also