ImageGear .NET
updateStatus Method

Updates the status of the operation.
Syntax
ASP.NET Ajax Javascript (Specification) 
function updateStatus( 
   callback : function
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearIsisOperationStatus.updateStatus(function);

Parameters

callback
Callback which is called when the status is updated.
Example

The JavaScript code below demonstrates how to update the status of an operation, where operationStatus is an ImGearIsisOperationStatus object returned when previously making an asynchronous call:

function updateStatusCallback(status) {
    if (status.get_status() !== ImageGear.Web.Isis.ImGearIsisStatus.Completed) {
        alert(status.get_statusMessage());
    }
}

operationStatus.updateStatus(updateStatusCallback);
Remarks

This is an asynchronous method.

See Also

Reference

ImGearIsisOperationStatus class
ImGearIsisOperationStatus Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback