DavItem.MoveToAsync Method

Namespace:
Weavy.Web.WebDAV
Assembly:
Weavy.Web.dll

MoveToAsync(IItemCollectionAsync, string, MultistatusException)

Moves this item to the destination folder under a new name.

If the item is locked the server must not move any locks with the item. However, items must be added to an existing lock at the destination.

public abstract Task MoveToAsync(IItemCollectionAsync destFolder, string destName, MultistatusException multistatus)

Parameters

destFolder
ITHit.WebDAV.Server.IItemCollectionAsync

Destination folder.

destName
string

Name of the destination item.

multistatus
ITHit.WebDAV.Server.MultistatusException

If some items fail to copy but operation in whole shall be continued, add information about the error into multistatus using ITHit.WebDAV.Server.MultistatusException.AddInnerException(System.String%2cITHit.WebDAV.Server.DavException).

Returns

System.Threading.Tasks.Task