AbortableJQueryPromise Interface

Summary

Defines the return type of a call to UploadFile.

Syntax
TypeScript
interface lt.Document.AbortableJqueryPromise<T> 
   extends JQueryPromise<T> 

Remarks

Because the UploadFile method is actually an encapsulation of the BeginUploadDocument and UploadDocument methods together, AbortUploadDocument cannot be called if the upload method needs to be stopped - the Uri is not known.

For this reason, instead of a normal Promise object, a AbortableJQueryPromise is returned, which includes a method Abort that can be called from the Promise.

Refer to Promises in Document Library Service for more information.

Requirements

Target Platforms

See Also

Reference

Leadtools.Document Namespace

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

Leadtools.Document Assembly