ImageGear for .NET
updateStatus Method
See Also  "Example" Send comments on this topic.
ImageGear.Web.Isis Namespace Client API Library > ImageGear.Web.Isis Namespace > ImGearIsisOperationStatus Class : updateStatus Method

callback
Callback which is called when the status is updated.

Glossary Item Box

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:

JavaScriptCopy Code
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

©2013. Accusoft Corporation. All Rights Reserved.