Re: Networkstream returns ArgumentOutOfRangeException

From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 02/18/05


Date: Fri, 18 Feb 2005 23:33:19 -0000

Dustin B <DustinB@discussions.microsoft.com> wrote:
> > Please read
> > http://www.pobox.com/~skeet/csharp/incomplete.html
>
> I am serious that's it.

No it's not. You didn't post a complete program. If you don't believe
me, try cutting and pasting your code into an empty text editor, and
then compiling it without adding anything more.

> On the last line of the Client Script it returns the
> ArgumentOutOfRangeException

And what's the message of the ArgumentOutOfRangeException? It should at
least tell you what argument it is that's out of range.

-- 
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


Relevant Pages

  • Re: Looking for new line symbol
    ... > ArgumentOutOfRangeException ... Usually it specifies which argument is ... as the first index to look at - but in a different text box. ... If replying to the group, please do not mail me too ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Throwing exceptions problem
    ... in an accountType of 0 my ArgumentOutOfRangeException should be raised. ... ArgumentOutOfRangeException is raised. ... Jon Skeet - ... If replying to the group, please do not mail me too ...
    (microsoft.public.dotnet.general)