Click or drag to resize

IHierarchyItemDeleteAsync Method (String)

IT Hit WebDAV Classes Reference
Deletes this item.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 5.1.2712
Syntax
Task DeleteAsync(
	string lockToken
)

Task DeleteAsync(
	string lockToken
)

Parameters

lockToken
Type: SystemString
Lock token for this item.

Return Value

Type: Task

[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IHierarchyItem.DeleteAsync(System.String)"]

Exceptions
ExceptionCondition
LockedExceptionThis folder or any child item is locked and no or invalid lock token was specified.
ForbiddenExceptionUser has not enough rights to perform this operation.
MethodNotAllowedExceptionTrying to delete lock-null item. Lock-null items must be deleted using UnlockAsync(String) method.
WebDavHttpExceptionServer returned unknown error.
WebDavExceptionUnexpected error occurred.
See Also