Namespace: ITHit.WebDAV.Client
Task DeleteAsync( string lockToken, IDictionary<string, string> headers = null, CancellationToken cancellationToken = null )
[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IHierarchyItem.DeleteAsync(System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Threading.CancellationToken)"]
Exception | Condition |
---|---|
LockedException | This folder or any child item is locked and no or invalid lock token was specified. |
ForbiddenException | User has not enough rights to perform this operation. |
MethodNotAllowedException | Trying to delete lock-null item. Lock-null items must be deleted using [!:IHierarchyItem.UnlockAsync(string)] method. |
WebDavHttpException | Server returned unknown error. |
WebDavException | Unexpected error occurred. |