AbortableJQueryPromise Interface

Summary

Defines the return type of a call to UploadFile.

Syntax

JavaScript Syntax
function lt.Documents.AbortableJQueryPromise 
TypeScript Syntax
class lt.Documents.AbortableJQueryPromise() 

Remarks

Because the UploadFile method is actually an encapsulation of the BeginUpload and UploadDocument methods together, AbortUploadDocument cannot be called if the upload 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 Documents Library Service for more information.

Requirements

Target Platforms

See Also

Reference

Leadtools.Documents Namespace

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly