AbortableJQueryPromise Interface

Summary

Defines the return type of the call to UploadFile or UploadFileDocument.

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

Because the UploadFile/UploadFileDocument method is actually an encapsulation of the BeginUploadDocument and UploadDocument/uploaddocumentblob 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, an 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 22.0.2023.2.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

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