2

I am a bit confused about the purpose of the enum value Success of the WebExceptionStatus enumeration. I did a search and did not find this enumeration being used outside the WebException class. This is very confusing to me. Why would an exception be used to indicate a successful action/state. Am I missing something, or did I not search thouroughly enough? Was it introduced for future functionality?

Please if anyone does know its basic purpose I would be thankfull if s/he shares with us the explanation.

CSharpenter
  • 722
  • 8
  • 21

1 Answers1

1

See if this might help.

Community
  • 1
  • 1
Anton Gogolev
  • 113,561
  • 39
  • 200
  • 288
  • You mean when I send a request, and that request is recieved successfuly on the server, but the server needs some more information, so it throws a WebException with Status == Success, and HTTP Status Code in the range 300-399? – CSharpenter May 13 '10 at 11:07
  • @csharpenter Yes, something along those lines. – Anton Gogolev May 13 '10 at 11:10