Namespace: ITHit.WebDAV.Client
 Syntax
SyntaxTask CancelUploadAsync( string lockToken, IDictionary<string, string> headers = null, CancellationToken cancellationToken = null )
[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IResumableUpload.CancelUploadAsync(System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Threading.CancellationToken)"]
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| NotFoundException | This file doesn't exist on the server. | 
| LockedException | File is locked and valid lock token was not specified. | 
| WebDavHttpException | Server returned unknown error. | 
| WebDavException | Unexpected error occurred. | 
 Remarks
RemarksThis method submits CANCELUPLOAD request to a file. The server should cancel the file upload and remove temporary files if any.
If your server is based on IT Hit WebDAV Server Engine and the item was automatically checked-out by server Engine when upload started it will be automatically checked-in by server Engine after this call.
 See Also
See Also