<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ArgumentNullException and ArgumentException</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx</link><description>In my comments Jeff asks: 
 I have a question, how was the decision for these 2 classes ctor parameters made... 
 Constructor for ArgumentNullException 
 public ArgumentNullException( string paramName, string message) 
 
 Constructor for ArgumentException</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title> Brad Abrams ArgumentNullException and ArgumentException | Wood TV Stand</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#9679169</link><pubDate>Mon, 01 Jun 2009 20:52:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9679169</guid><dc:creator> Brad Abrams ArgumentNullException and ArgumentException | Wood TV Stand</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://woodtvstand.info/story.php?id=1343"&gt;http://woodtvstand.info/story.php?id=1343&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9679169" width="1" height="1"&gt;</description></item><item><title>Documentation bug for HttpServerUtility.Transfer</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#229715</link><pubDate>Wed, 15 Sep 2004 04:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:229715</guid><dc:creator>SampoSoft .NET</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=229715" width="1" height="1"&gt;</description></item><item><title>re: Internet, Intranet e le redirezioni</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#228822</link><pubDate>Mon, 13 Sep 2004 18:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:228822</guid><dc:creator>StrangeLog - Il blog di Andrea Saltarello</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=228822" width="1" height="1"&gt;</description></item><item><title>re: ArgumentNullException and ArgumentException</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#108000</link><pubDate>Mon, 05 Apr 2004 22:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:108000</guid><dc:creator>Brian Grunkemeyer</dc:creator><description>About the Missing &amp;amp; Empty constructors - there is no real difference.  Whether the constructors are internal or private has no impact to the public API, especially since these classes are private.  I suspect this was required in our original design, but never got fixed when we revamped these classes, about the same time we removed Variant from the public namespace about 2.5 years into writing V1.  Either that, or it was an earlier compiler limitation.  (We went through two separate compilers for V1 before we ported our source to C#.)  &lt;br&gt;&lt;br&gt;But this is a little odd, and I'll make these constructors are private.&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=108000" width="1" height="1"&gt;</description></item><item><title>re: ArgumentNullException and ArgumentException</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#107436</link><pubDate>Sun, 04 Apr 2004 22:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:107436</guid><dc:creator>Adrian Florea</dc:creator><description>Why this singleton System.Reflection.Missing has the constructor internal instead of private? Same question for the internal class System.Empty.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=107436" width="1" height="1"&gt;</description></item><item><title>re: ArgumentNullException and ArgumentException</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#84939</link><pubDate>Sat, 06 Mar 2004 00:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:84939</guid><dc:creator>Kit George</dc:creator><description>With regards to Ilya's question (why not add EndsWith/Startswith overloads that accept a char), there's simply not much of a gain here. We actually have a feature request for this, but it's lower down on our priority stack.&lt;br&gt;&lt;br&gt;On Rich's Random.Next issue: yup, this is an unfortunate one. But basically, we can't change this behavior, for breaking change reasons. However, I just entered a feature request for us to consider either a new method, or a new overload (consider obsoleting this one).&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=84939" width="1" height="1"&gt;</description></item><item><title>re: ArgumentNullException and ArgumentException</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#83326</link><pubDate>Wed, 03 Mar 2004 17:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:83326</guid><dc:creator>RichB</dc:creator><description>Random.Next(0,1);&lt;br&gt;&lt;br&gt;does not return numbers in the set {0..1}. It returns numbers in the set {0..0}. Arghh!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=83326" width="1" height="1"&gt;</description></item><item><title>Windows.Management</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#82941</link><pubDate>Tue, 02 Mar 2004 23:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:82941</guid><dc:creator>Mike Krings</dc:creator><description>Publishing WMI Classes is nearly unrecoverable in case of a failure:&lt;br&gt;&lt;br&gt;If the WMI class is not yet registered and the user is not in the Admin group, a simple System.Exception is thrown. No real chance to gracefully handle this, as the only hint on the source of the error is the error message.&lt;br&gt;&lt;br&gt;If publishing fails because of an Security exception, the Exception raised is a COMException (shouldn't it be a ComException ?) with a WMI specific (not  System.Management published) HRESULT of 0x80041003.&lt;br&gt;&lt;br&gt;Looks like a real hasty transformation of the WMI API.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=82941" width="1" height="1"&gt;</description></item><item><title>re: ArgumentNullException and ArgumentException</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#81649</link><pubDate>Sun, 29 Feb 2004 05:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:81649</guid><dc:creator>Ilya Ryzhenkov</dc:creator><description>My favorite is internal bool EndsWith(char value) in String class. Why it would be internal? Also, there is no bool StartsWith(char value).&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=81649" width="1" height="1"&gt;</description></item><item><title>re: ArgumentNullException and ArgumentException</title><link>http://blogs.msdn.com/b/brada/archive/2004/02/15/73535.aspx#81591</link><pubDate>Sun, 29 Feb 2004 00:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:81591</guid><dc:creator>Brad Abrams</dc:creator><description>Mike, on the issues with SmtpServer, you will be happy to know that in Whidbey we will be adding a much better mail support to the platform that does, I am told, fix this problem.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=81591" width="1" height="1"&gt;</description></item></channel></rss>