Hi,
Unfortunately i am not able to suppress the popup displaying "Script execution interrupted by host" :
I have tried following codes:
Code1:
(Unable to compile : Says "Microsoft.ClearScript.ScriptEngine does not contain defination for current)
engine.Script.Quit = new Action(() => ScriptEngine.Current.Interrupt());
try {
catch (ScriptInterruptedException) {
}
please help!
Unfortunately i am not able to suppress the popup displaying "Script execution interrupted by host" :
I have tried following codes:
Code1:
try
{
Script.engine.Interrupt();
}
catch (ScriptInterruptedException)
{
}
Code2:(Unable to compile : Says "Microsoft.ClearScript.ScriptEngine does not contain defination for current)
engine.Script.Quit = new Action(() => ScriptEngine.Current.Interrupt());
try {
engine.Execute(util.Quit);
}catch (ScriptInterruptedException) {
}
please help!