Namespace: ITHit.WebDAV.Server.DeltaV
Task UpdateToVersionAsync( IVersionAsync version ) Task UpdateToVersionAsync( IVersionAsync version )
[Missing <param name="version"/> documentation for "M:ITHit.WebDAV.Server.DeltaV.IVersionableItemAsync.UpdateToVersionAsync(ITHit.WebDAV.Server.DeltaV.IVersionAsync)"]
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(IVersionAsync) implementation you will create a new version and copy content and properties from IVersionAsync 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(IVersionAsync) method can only be called when item is in check-in state.