ImageGear.Web.Isis Library > ImageGear.Web.Isis Namespace > ImGearIsisOperationStatus class : updateStatus Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function updateStatus( callback : function ) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisOperationStatus.updateStatus(function); |
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);
This is an asynchronous method.