<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>Jint - Javascript Interpreter for .NET</title><link>http://jint.codeplex.com/project/feeds/rss</link><description>Jint is a script engine based on the Javascript language. Using Jint, developers can provide fully scriptable applications, execute .NET code without compiling, or create external configuration logic, using the most used script language.</description><item><title>New Post: Wrong implementation of array.CopyTo in jsDateConstructor?</title><link>http://jint.codeplex.com/discussions/342450</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;First of all great project!! It really works really well for what I am in need of.&lt;/p&gt;
&lt;p&gt;I am using version 0.9.2 and&amp;nbsp;today I found what seems to be a bug on the code in several of the SetXXX functions of the jsDateConstructor.cs file.&lt;/p&gt;
&lt;p&gt;On this functions the basic idea as I would guess it is that you use the first parameter and then pass the rest to the more specific functions, let's say I want to set hour, minute and second, the SetHour function is called first, uses the parameter [0]  and then passes the rest to the SetMinute function that uses the parameter[0] and so forth.&lt;/p&gt;
&lt;p&gt;this is implemented like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;            if (parameters.Length &amp;gt; 1) {
                JsInstance[] innerParams = new JsInstance[parameters.Length - 1];
                parameters.CopyTo(innerParams, 1);
                target = (JsDate)SetSecondsImpl(target, innerParams);
            }
&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;nbsp;parameters is the original array and innerParms is the array we want to send to the next function.&lt;/p&gt;
&lt;p&gt;The problem is at parameters.CopyTo(...) , this call actually tries to copy the entire parameters into innerParams starting at position 1 (of the innerParams array), this is a problem because we just created this array with 1 less item that the original  parameters array. &amp;nbsp;You can see the full description of this function here:&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/06x742cw.aspx"&gt;http://msdn.microsoft.com/en-us/library/06x742cw.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What I think is correct is to replace the previous line with the Array.Copy function like this:&lt;/p&gt;
&lt;p&gt;Array.Copy(parameters, 1, innerParams, 0, parameters.Length - 1);&lt;/p&gt;
&lt;p&gt;this will copy all elements from parameters starting at position 1 into innerParams starting at position 0. Here you can see an explanation of the Array.Copy function:&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/z50k9bft.aspx"&gt;http://msdn.microsoft.com/en-us/library/z50k9bft.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please ignore this if I'm totally off the mark here.&lt;/p&gt;
&lt;p&gt;Keep up the good work!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sebastian Andres&lt;/p&gt;&lt;/div&gt;</description><author>sebandres</author><pubDate>Thu, 23 Feb 2012 00:36:35 GMT</pubDate><guid isPermaLink="false">New Post: Wrong implementation of array.CopyTo in jsDateConstructor? 20120223123635A</guid></item><item><title>Created Issue: undefined + Array Mistake [6944]</title><link>http://jint.codeplex.com/workitem/6944</link><description>undefined&amp;#43;&amp;#91;343&amp;#93;&lt;br /&gt;gives&lt;br /&gt;NaN&lt;br /&gt;but should give&lt;br /&gt;&amp;#34;undefined343&amp;#34;&lt;br /&gt;</description><author>fijode</author><pubDate>Sat, 18 Feb 2012 20:45:38 GMT</pubDate><guid isPermaLink="false">Created Issue: undefined + Array Mistake [6944] 20120218084538P</guid></item><item><title>Commented Issue: NaN + Array&lt;number&gt; mistake [6943]</title><link>http://jint.codeplex.com/workitem/6943</link><description>NaN&amp;#43;&amp;#91;234&amp;#93;&lt;br /&gt;gives &lt;br /&gt;NaN&lt;br /&gt;but should give&lt;br /&gt;&amp;#34;NaN234&amp;#34;&lt;br /&gt;Comments: oops, I ment NaN&amp;#43;&amp;#91;&amp;#34;test&amp;#34;&amp;#93;</description><author>fijode</author><pubDate>Sat, 18 Feb 2012 20:41:02 GMT</pubDate><guid isPermaLink="false">Commented Issue: NaN + Array&lt;number&gt; mistake [6943] 20120218084102P</guid></item><item><title>Commented Issue: NaN + Array&lt;number&gt; mistake [6943]</title><link>http://jint.codeplex.com/workitem/6943</link><description>NaN&amp;#43;&amp;#91;234&amp;#93;&lt;br /&gt;gives &lt;br /&gt;NaN&lt;br /&gt;but should give&lt;br /&gt;&amp;#34;NaN234&amp;#34;&lt;br /&gt;Comments: the same mistake exist for NaN&amp;#43;&amp;#91;234&amp;#93;</description><author>fijode</author><pubDate>Sat, 18 Feb 2012 20:39:49 GMT</pubDate><guid isPermaLink="false">Commented Issue: NaN + Array&lt;number&gt; mistake [6943] 20120218083949P</guid></item><item><title>Created Issue: NaN + Array&lt;number&gt; mistake [6943]</title><link>http://jint.codeplex.com/workitem/6943</link><description>NaN&amp;#43;&amp;#91;234&amp;#93;&lt;br /&gt;gives &lt;br /&gt;NaN&lt;br /&gt;but should give&lt;br /&gt;&amp;#34;NaN234&amp;#34;&lt;br /&gt;</description><author>fijode</author><pubDate>Sat, 18 Feb 2012 20:37:55 GMT</pubDate><guid isPermaLink="false">Created Issue: NaN + Array&lt;number&gt; mistake [6943] 20120218083755P</guid></item><item><title>Commented Issue: Addition Mistake [6942]</title><link>http://jint.codeplex.com/workitem/6942</link><description>true&amp;#43;&amp;#91;&amp;#34;8798&amp;#34;&amp;#93;&lt;br /&gt;should give&lt;br /&gt;&amp;#34;true8798&amp;#34;&lt;br /&gt;but gives&lt;br /&gt;2&lt;br /&gt;Comments: the same problem with true&amp;#43;&amp;#91;&amp;#34;test&amp;#34;&amp;#93;&amp;#10;should return&amp;#10;&amp;#34;truetest&amp;#34;&amp;#10;but was&amp;#10;2</description><author>fijode</author><pubDate>Sat, 18 Feb 2012 20:33:51 GMT</pubDate><guid isPermaLink="false">Commented Issue: Addition Mistake [6942] 20120218083351P</guid></item><item><title>Created Issue: Addition Mistake [6942]</title><link>http://jint.codeplex.com/workitem/6942</link><description>true&amp;#43;&amp;#91;&amp;#34;8798&amp;#34;&amp;#93;&lt;br /&gt;should give&lt;br /&gt;&amp;#34;true8798&amp;#34;&lt;br /&gt;but gives&lt;br /&gt;2&lt;br /&gt;</description><author>fijode</author><pubDate>Sat, 18 Feb 2012 20:32:15 GMT</pubDate><guid isPermaLink="false">Created Issue: Addition Mistake [6942] 20120218083215P</guid></item><item><title>Created Issue: NaN.ToString() with wrong casing [6941]</title><link>http://jint.codeplex.com/workitem/6941</link><description>I noted, that&lt;br /&gt;&lt;br /&gt;return NaN&amp;#43;&amp;#34;&amp;#34;&lt;br /&gt;will return &amp;#34;nan&amp;#34; but should be &amp;#34;NaN&amp;#34;&lt;br /&gt;&lt;br /&gt;I hope your&amp;#39;ll fix this mistake, soon...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description><author>fijode</author><pubDate>Sat, 18 Feb 2012 16:43:23 GMT</pubDate><guid isPermaLink="false">Created Issue: NaN.ToString() with wrong casing [6941] 20120218044323P</guid></item><item><title>New Post: InvalidProgramException on Windows Phone on Emitted function call</title><link>http://jint.codeplex.com/discussions/319773</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using a ported version of JINT on Windows Phone.&lt;/p&gt;
&lt;p&gt;Apparently, WP7.1 supports Emit, and so the code seems to be running. However, I am getting an InvalidProgramException when trying to call a method on an object I SetParameter'ed.&lt;/p&gt;
&lt;p&gt;The method gets wrapped here:&lt;/p&gt;
&lt;p&gt;ProxyHelper.cs:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public JsMethodImpl WrapMethod(MethodInfo info, bool passGlobal) {&lt;/p&gt;
&lt;p&gt;And&amp;nbsp;the exception (InvalidProgramException) gets raised here:&lt;/p&gt;
&lt;p&gt;NativeMethod.cs:&amp;nbsp;&amp;nbsp; public override JsInstance Execute(Jint.Expressions.IJintVisitor visitor, JsDictionaryObject that, JsInstance[] parameters)&lt;/p&gt;
&lt;p&gt;I am assuming that the emitted code is incompatible with SilverLight, but not sure why.. So wondering if someone can point me at where to start debugging it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;/div&gt;</description><author>shaharprish</author><pubDate>Thu, 16 Feb 2012 23:49:46 GMT</pubDate><guid isPermaLink="false">New Post: InvalidProgramException on Windows Phone on Emitted function call 20120216114946P</guid></item><item><title>New Post: Setting permissions per namespace</title><link>http://jint.codeplex.com/discussions/310772</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Firstly, thanks for this awesome project!&lt;/p&gt;
&lt;p&gt;Please forgive me if I say something stupid here; I am yet to go through any official computing training and am just self-taught at this stage. It seems to me like being able to set access permissions per namespace would be a really neat and simple way of  setting up an API for an application using Jint. I have a project that I have been working on for some time that requires scripted extensions to be shared between users and I had previously been using the MSScriptControl to achieve this but it was proving  to be too limiting.&lt;/p&gt;
&lt;p&gt;I am now trying to convert the project to using Jint. I need to provide access to a quite complex namespace with 60+ classes at the moment and I would like to not provide access to the rest of the CLR. Is there any way I can do this without having to rewrite  all of my existing classes?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ThomasMaierhofer&lt;/span&gt; achieved something similar to this here: &lt;a href="http://jint.codeplex.com/discussions/211291"&gt; http://jint.codeplex.com/discussions/211291&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So, in summary: Is this possible? And if it is, why is this not a feature of Jint?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your help,&lt;/p&gt;
&lt;p&gt;Sam.&lt;/p&gt;&lt;/div&gt;</description><author>SeriousSamP</author><pubDate>Mon, 13 Feb 2012 18:27:22 GMT</pubDate><guid isPermaLink="false">New Post: Setting permissions per namespace 20120213062722P</guid></item><item><title>New Post: What's up with string methods?</title><link>http://jint.codeplex.com/discussions/76173</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I also noticed that JsString does not implement IComparable.&amp;nbsp; The script attempting to execute does not pass a comparer so it falls through to the default List&amp;lt;JsInstance&amp;gt;.Sort() which fails due to the unimplemented interface.&amp;nbsp; Am I wrong to expect that?&lt;/p&gt;
&lt;p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;            &lt;span style="color: blue;"&gt;if&lt;/span&gt; (compare != &lt;span style="color: blue;"&gt;null&lt;/span&gt;) {
                &lt;span style="color: blue;"&gt;try&lt;/span&gt; {
                    values.Sort(&lt;span style="color: blue;"&gt;new&lt;/span&gt; JsComparer(Global.Visitor, compare));
                }
                &lt;span style="color: blue;"&gt;catch&lt;/span&gt; (Exception e) {
                    &lt;span style="color: blue;"&gt;if&lt;/span&gt; (e.InnerException &lt;span style="color: blue;"&gt;is&lt;/span&gt; JsException) {
                        &lt;span style="color: blue;"&gt;throw&lt;/span&gt; e.InnerException;
                    }

                    &lt;span style="color: blue;"&gt;throw&lt;/span&gt;;
                }
            }
            &lt;span style="color: blue;"&gt;else&lt;/span&gt; {
                values.Sort();
            }


&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;&lt;/div&gt;</description><author>krisoye</author><pubDate>Sat, 11 Feb 2012 23:15:11 GMT</pubDate><guid isPermaLink="false">New Post: What's up with string methods? 20120211111511P</guid></item><item><title>New Post: Scripting Shorthand Question</title><link>http://jint.codeplex.com/discussions/301511</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Is it possible to easily implement (e.g. without creating my own wrapper, overriding TryGetProperty, etc) Firefox-like shorthand notation:&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;&amp;lt;form name=&amp;quot;foo&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;input name=&amp;quot;bar&amp;quot; /&amp;gt;&lt;br&gt;
&amp;lt;/form&amp;gt;&lt;/p&gt;
&lt;p&gt;document.foo.bar.value = 'Frank';&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>krisoye</author><pubDate>Fri, 10 Feb 2012 01:25:59 GMT</pubDate><guid isPermaLink="false">New Post: Scripting Shorthand Question 20120210012559A</guid></item><item><title>New Post: Cancel/stop a run</title><link>http://jint.codeplex.com/discussions/286799</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Wating for the approval:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://jint.codeplex.com/SourceControl/network/Forks/jorgeleo/StopExecution/contribution/1841"&gt;http://jint.codeplex.com/SourceControl/network/Forks/jorgeleo/StopExecution/contribution/1841&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><author>jorgeleo</author><pubDate>Tue, 07 Feb 2012 19:02:50 GMT</pubDate><guid isPermaLink="false">New Post: Cancel/stop a run 20120207070250P</guid></item><item><title>New Post: Jint Used In FocusOPEN DAM System</title><link>http://jint.codeplex.com/discussions/295649</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm not sure if it is appropriate to post in this forum on this subject, if not, please accept my apologies in advance.&amp;nbsp; This is just an fyi to let you know that we have included Jint in FocusOPEN, our open source .NET Digital Asset Management system
 to provide scripting support and also to enable a REST API that users can extend themselves with server-side JavaScript.&amp;nbsp; There is more info on FocusOPEN site here: http://www.digitalassetmanager.com&lt;/p&gt;
&lt;p&gt;Jint been included for several releases now and so far we have been more than pleased with the elegance, stability and flexibility of the module.&amp;nbsp; We fully intend to develop further features for end users using Jint, including a hooks system that will
 allow end users to customise our product without modifying the core code. All that has been made possible by Jint and it has considerably expanded the scope of what we can offer to our users, especially those who might not be expert with .NET.&lt;/p&gt;
&lt;p&gt;Keep up the good work guys!&lt;/p&gt;
&lt;p&gt;Ralph Windsor&lt;/p&gt;
&lt;p&gt;Daydream, developers of FocusOPEN Digital Asset Manager&lt;/p&gt;
&lt;/div&gt;</description><author>daydream</author><pubDate>Mon, 06 Feb 2012 14:24:04 GMT</pubDate><guid isPermaLink="false">New Post: Jint Used In FocusOPEN DAM System 20120206022404P</guid></item><item><title>New Comment on "Exposing Javascript functions to the CLR"</title><link>http://jint.codeplex.com/wikipage?title=Exposing Javascript functions to the CLR&amp;ANCHOR#C22473</link><description>Idem&amp;#58;&amp;#10;list &amp;#61; list.ConvertAll&amp;#60;System.Double&amp;#62;&amp;#40; function &amp;#40;x&amp;#41; &amp;#123; return x &amp;#42; x&amp;#59; &amp;#125;&amp;#41;&amp;#59;</description><author>artyprog</author><pubDate>Mon, 06 Feb 2012 08:47:36 GMT</pubDate><guid isPermaLink="false">New Comment on "Exposing Javascript functions to the CLR" 20120206084736A</guid></item><item><title>New Comment on "Exposing Javascript functions to the CLR"</title><link>http://jint.codeplex.com/wikipage?title=Exposing Javascript functions to the CLR&amp;ANCHOR#C22472</link><description>A little typo &amp;#58;-&amp;#41;&amp;#10;var list &amp;#61; new System.Collections.Generic.List&amp;#60;System.Int32&amp;#62;&amp;#40;&amp;#41;&amp;#59; &amp;#10;Regards</description><author>artyprog</author><pubDate>Mon, 06 Feb 2012 08:46:37 GMT</pubDate><guid isPermaLink="false">New Comment on "Exposing Javascript functions to the CLR" 20120206084637A</guid></item><item><title>Created Issue: Cannot call methods in nested classes [6940]</title><link>http://jint.codeplex.com/workitem/6940</link><description>Methods of nested classes cannot be executed. This appears to be due to .NET&amp;#39;s naming scheme of &amp;#34;Assembly.Class&amp;#43;NestedClass&amp;#34;, specifically the plus sign. Using something like &amp;#34;&amp;#36;&amp;#34; in place of &amp;#34;&amp;#43;&amp;#34; for bidirectional name translation would work well, I believe, since JS is fine with dollar signs in names while .NET isn&amp;#39;t. A quick and dirty change in NativeConstructor.cs line 50 to&amp;#58;&lt;br /&gt;&lt;br /&gt;Name &amp;#61; type.FullName.Replace&amp;#40;&amp;#39;&amp;#43;&amp;#39;, &amp;#39;&amp;#36;&amp;#39;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;allows methods residing in nested classes to be called, although obviously this isn&amp;#39;t a good fix by any means.&lt;br /&gt;</description><author>Arktronic</author><pubDate>Sun, 05 Feb 2012 23:14:50 GMT</pubDate><guid isPermaLink="false">Created Issue: Cannot call methods in nested classes [6940] 20120205111450P</guid></item><item><title>New Post: Noob question: how to use C# objects from JavaScript?</title><link>http://jint.codeplex.com/discussions/287802</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thank you. This works.&lt;/p&gt;
&lt;p&gt;And how to add methods? It seems that I have to declare them and make wrappers (?). How to do that? (Maybe I am real noob if I even can't understand how to...)&lt;/p&gt;
&lt;p&gt;For example I have send method, but it throws exception when trying to call it. I should redirect these calls to packet class. How?&lt;/p&gt;&lt;/div&gt;</description><author>Uhehesh</author><pubDate>Sat, 04 Feb 2012 09:27:51 GMT</pubDate><guid isPermaLink="false">New Post: Noob question: how to use C# objects from JavaScript? 20120204092751A</guid></item><item><title>New Post: Noob question: how to use C# objects from JavaScript?</title><link>http://jint.codeplex.com/discussions/287802</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I am not an expert on Jint (yet).&amp;nbsp; I wish I was.&amp;nbsp; I am having a few issues of my own.&lt;/p&gt;
&lt;p&gt;I'd look at other classes in Jint's native namespace.&amp;nbsp; JsRegExpConstructor is a constructor that supports multiple arguments:&lt;/p&gt;
&lt;p&gt;It overrides Execute instead of Construct and calls a constructor method depending on the number of args.&amp;nbsp; Perhaps you can do something similar?&lt;/p&gt;
&lt;p&gt;In JsPacketConstructor class:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public override JsInstance Execute(IJintVisitor visitor, JsDictionaryObject that, JsInstance[] parameters) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (parameters.Length == 0) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return visitor.Return(New());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return visitor.Return(New(Convert.ToInt16(parameters[0].ToString()), Convert.ToBoolean(parameters[1].ToString())));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public JsObject New() {&amp;nbsp; return New(0, false);&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public JsObject New(short p, bool f) {&amp;nbsp;&amp;nbsp;&amp;nbsp; Global.WrapClr(new packet(p, f)); &amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;Anyway... not sure this works but I would look at the other constructor types in Jint's Native namespace if not.&lt;/p&gt;&lt;/div&gt;</description><author>krisoye</author><pubDate>Fri, 03 Feb 2012 22:44:09 GMT</pubDate><guid isPermaLink="false">New Post: Noob question: how to use C# objects from JavaScript? 20120203104409P</guid></item><item><title>New Post: Cancel/stop a run</title><link>http://jint.codeplex.com/discussions/286799</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks, jorgeleo.&lt;/p&gt;
&lt;p&gt;My apologies, the code was OK. I have been confused by the VS exception assistant, which reproducibly reported 'Exception has not been caught', but actually, if you ignore the message and proceed, the exception is processed correctly. This is of course just a debugging issue. In release, everything works fine.&lt;/p&gt;
&lt;p&gt;I still do not understand why the VS exception assistant is not reacting properly in this situation (even if you disable it, you would still get a VS exception message) , but maybe this is intended behavior.&lt;/p&gt;
&lt;p&gt;Anyway, the suggestion with the AbortExecution property seems to be a proper solution to the issue.&lt;/p&gt;&lt;/div&gt;</description><author>igorh</author><pubDate>Fri, 03 Feb 2012 07:41:13 GMT</pubDate><guid isPermaLink="false">New Post: Cancel/stop a run 20120203074113A</guid></item></channel></rss>
