←Select platform

AbortUploadDocument(Uri) Method

Summary

Abort uploading a document and delete all the stored data.

Syntax
C#
VB
C++
Java
public static void AbortUploadDocument( 
   Uri uri 
) 
Public Shared Sub AbortUploadDocument( 
   ByVal uri As System.Uri 
) 
public:  
   static void AbortUploadDocument( 
      System::Uri^ uri 
   ) 
public static void abortUploadDocument(URI uri) 

Parameters

uri

The temporary document URL. This must be the same value returned from BeginUpload and cannot be

null.

Remarks

This method will call AbortUploadDocument(DocumentFactory.Cache, ..) and therefore will throw an exception if Cache was not setup.

BeginUpload, UploadDocument and AbortUploadDocument can be used to upload a document in chunks to the cache used by this DocumentFactory. After the document is uploaded, you can use LoadFromUri to create a LEADDocument object from the data.

Refer to Uploading Using the Document Library for detailed information on how to use these methods and the various options used.

Example

For an example, refer to BeginUpload

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly