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
)
Public Function DeleteAsync (
item As Uri,
Optional lockTokens As LockUriTokenPair() = Nothing,
Optional headers As IDictionary(Of String, String) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
Task^ DeleteAsync(
Uri^ item,
array<LockUriTokenPair^>^ lockTokens = nullptr,
IDictionary<String^, String^>^ headers = nullptr,
CancellationToken cancellationToken = nullptr
)
member DeleteAsync :
item : Uri *
?lockTokens : LockUriTokenPair[] *
?headers : IDictionary<string, string> *
?cancellationToken : CancellationToken
(* Defaults:
let _lockTokens = defaultArg lockTokens null
let _headers = defaultArg headers null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task
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