Click or drag to resize

WebDavSessionMoveToAsync Method

IT Hit WebDAV Classes Reference
Moves an item to a new location.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax
public Task MoveToAsync(
	Uri source,
	Uri destination,
	bool overwrite,
	LockUriTokenPair[] lockTokens = null,
	IDictionary<string, string> headers = null,
	CancellationToken cancellationToken = null
)

Parameters

source
Type: SystemUri
URI of the item to be moved.
destination
Type: SystemUri
Target URI.
overwrite
Type: SystemBoolean
Whether existing destination item shall be overwritten.
lockTokens (Optional)
Type: ITHit.WebDAV.ClientLockUriTokenPair
Lock tokens for resources to be moved, for destination folder or resources to be overwritten that are locked.
headers (Optional)
Type: System.Collections.GenericIDictionaryString, String
Request headers.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: Task
.
See Also