Namespace: ITHit.WebDAV.Server.DeltaV
[Missing <param name="version"/> documentation for "M:ITHit.WebDAV.Server.DeltaV.IVersionableItem.UpdateToVersionAsync(ITHit.WebDAV.Server.DeltaV.IVersion)"]
Exception | Condition |
---|---|
LockedException | This item was locked. Client did not provide the lock token. |
NeedPrivilegesException | The user doesn't have enough privileges. |
InsufficientStorageException | Quota limit is reached. |
MultistatusException | Errors has occurred during processing of the subtree. |
DavException | In other cases. |
In your UpdateToVersionAsync(IVersion) implementation you will create a new version and copy content and properties from IVersion passed as a parameter to new version. You will also replace content and properties of this item. The new created version becomes current version.
The UpdateToVersionAsync(IVersion) method can only be called when item is in check-in state.