Click or drag to resize

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
Task<LockScope[]> GetSupportedLockAsync(
	IDictionary<string, string> headers = null,
	CancellationToken cancellationToken = null


headers (Optional)
Type: System.Collections.GenericIDictionaryString, String
Request headers.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: TaskLockScope
Array of supported lock types.
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.
WebDavExceptionUnexpectred error occurred.
Empty array is returned if item does not support any locks.
See Also