Click or drag to resize

WebDavSessionDeleteAsync Method

IT Hit WebDAV Classes Reference
Deletes an item.

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

Parameters

item
Type: SystemUri
URI of the item to be deleted.
lockTokens (Optional)
Type: ITHit.WebDAV.ClientLockUriTokenPair
Item lock token.
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