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:
JavaScript | Copy Code |
---|
function updateStatusCallback(status) {
if (status.get_status() !== ImageGear.Web.Isis.ImGearIsisStatus.Completed) {
alert(status.get_statusMessage());
}
}
operationStatus.updateStatus(updateStatusCallback); |
Remarks
See Also