Click or drag to resize

IHierarchyItemAsyncGetSupportedLockAsync 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: 2.0.420.0
Syntax
[ObsoleteAttribute]
Task<LockScope[]> GetSupportedLockAsync()

Return Value

Type: TaskLockScope
Array of supported lock types.
Exceptions
ExceptionCondition
NotFoundExceptionThis item doesn't exist on the server.
PropertyForbiddenExceptionUser has not enough rights to obtain one of requested properties.
PropertyConflictException The client has provided a value whose semantics are not appropriate for the property. This includes trying to set read-only properties.
PropertyExceptionServer returned unknown error.
WebDavExceptionUnexpected error occurred.
Remarks
Empty array is returned if item does not support any locks.
See Also