Merge pull request #2305 from ludovic-henry/fix-threadpool-36414
[mono.git] / mcs / class / System / System.Net / WebExceptionStatus.cs
old mode 100755 (executable)
new mode 100644 (file)
index 05dd876..468a0d5
@@ -1,85 +1,61 @@
-// WebExceptionStatus.cs
+// System.Net.WebExceptionStatus.cs
 //
-// This code was automatically generated from
-// ECMA CLI XML Library Specification.
-// Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
-// Created: Wed, 5 Sep 2001 06:33:08 UTC
-// Source file: AllTypes.xml
-// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
+// Author:
+//   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
+//   originally autogenerated by Sergey Chaban (serge@wildwestsoftware.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
 
-namespace System.Net {
-
-
-       /// <summary>
-       /// </summary>
-       public enum WebExceptionStatus {
-
-               /// <summary>
-               /// </summary>
+namespace System.Net 
+{
+       public
+       enum WebExceptionStatus 
+       {
                Success = 0,
-
-               /// <summary>
-               /// </summary>
                NameResolutionFailure = 1,
-
-               /// <summary>
-               /// </summary>
                ConnectFailure = 2,
-
-               /// <summary>
-               /// </summary>
                ReceiveFailure = 3,
-
-               /// <summary>
-               /// </summary>
                SendFailure = 4,
-
-               /// <summary>
-               /// </summary>
                PipelineFailure = 5,
-
-               /// <summary>
-               /// </summary>
                RequestCanceled = 6,
-
-               /// <summary>
-               /// </summary>
                ProtocolError = 7,
-
-               /// <summary>
-               /// </summary>
                ConnectionClosed = 8,
-
-               /// <summary>
-               /// </summary>
                TrustFailure = 9,
-
-               /// <summary>
-               /// </summary>
                SecureChannelFailure = 10,
-
-               /// <summary>
-               /// </summary>
                ServerProtocolViolation = 11,
-
-               /// <summary>
-               /// </summary>
                KeepAliveFailure = 12,
-
-               /// <summary>
-               /// </summary>
                Pending = 13,
-
-               /// <summary>
-               /// </summary>
                Timeout = 14,
-
-               /// <summary>
-               /// </summary>
                ProxyNameResolutionFailure = 15,
-       } // WebExceptionStatus
 
-} // System.Net
+
+               UnknownError = 16,
+               MessageLengthLimitExceeded = 17,
+
+               CacheEntryNotFound = 18,
+               RequestProhibitedByCachePolicy = 19,
+               RequestProhibitedByProxy = 20,
+
+       }
+}