This method checks if remote script execution is aborted programmatically an abort() call.
This method has the following syntax:
wasAborted()
The method returns the following values:
Indicates that the execution has been aborted.
Indicates that the execution has not been aborted.
Example
Check if a remote operation is aborted:
rt = new RemoteTarget("ascli1");
run-remote Math.sin(3/2*Math.PI) on rt
if(!rt.hasCompleted())
{
rt.abort()
? "Operation aborted:", rt.wasAborted()
}
|
Copyright © 2013 CA.
All rights reserved.
|
|