Namespace: ITHit.WebDAV.Server
| Exception | Condition |
|---|---|
| LockedException | This item or its parent was locked and client did not provide lock token. |
| NeedPrivilegesException | The user doesn't have enough privileges. |
| InsufficientStorageException | Quota limit is reached. |
| MultistatusException | Errors has occured during processing of item in the subtree and whole operation shall be aborted. |
| DavException | In other cases. Possible status value is CONFLICT if destination folder doesn't exist. |
The code below is part of 'WebDAVServer.NtfsStorage' sample provided with the SDK.
public override void Delete(MultistatusException multistatus) { RequireHasToken(); context.FileOperation( this, () => fileSystemInfo.Delete(), Privilege.Unbind); }