←Select platform

AbortUploadDocument(ObjectCache,Uri) Method

Summary

Abort uploading a document from the specified cache and delete all the stored data.

Syntax
C#
C++/CLI
Java
Python
public static void AbortUploadDocument( 
   ObjectCache cache, 
   Uri uri 
) 
public:  
   static void AbortUploadDocument( 
      ObjectCache^ cache, 
      System::Uri^ uri 
   ) 
public static void abortUploadDocument(ObjectCache cache, URI uri) 
def AbortUploadDocument(self,cache,uri): 

Parameters

cache

The cache used when uploading this document. This value cannot be null.

uri

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

null.

Remarks

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.

Requirements

Target Platforms

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

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.