Updates with new enumerations that match the ones in ECMA and contain
[mono.git] / mcs / class / System / System.Net / WebExceptionStatus.cs
1 // WebExceptionStatus.cs\r
2 //\r
3 // This code was automatically generated from\r
4 // ECMA CLI XML Library Specification.\r
5 // Generator: libgen.xsl\r
6 // Source file: AllTypes.xml\r
7 // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml\r
8 //\r
9 // (C) 2001 Ximian, Inc.  http://www.ximian.com\r
10 \r
11 \r
12 namespace System.Net {\r
13 \r
14 \r
15         /// <summary>\r
16         /// <para> Defines status codes for the <see cref="T:System.Net.WebException" /> class.\r
17         ///  </para>\r
18         /// </summary>\r
19         /// <remarks>\r
20         /// <para>This enumeration defines the status\r
21         ///  codes assigned to the <see cref="P:System.Net.WebException.Status" />\r
22         ///  property.</para>\r
23         /// </remarks>\r
24         public enum WebExceptionStatus {\r
25 \r
26                 /// <summary><para> No error was encountered.\r
27                 ///  </para><para><block subset="none" type="note">This is the default value for\r
28                 ///  <see cref="P:System.Net.WebException.Status" /> . </block></para></summary>\r
29                 Success = 0,\r
30 \r
31                 /// <summary><para>\r
32                 ///        The name resolver service could not resolve the host name.\r
33                 ///     </para></summary>\r
34                 NameResolutionFailure = 1,\r
35 \r
36                 /// <summary><para> The remote service point could not be contacted at the transport level.\r
37                 ///  </para></summary>\r
38                 ConnectFailure = 2,\r
39 \r
40                 /// <summary><para>\r
41                 ///        A complete response was not received from the remote server.\r
42                 ///     </para></summary>\r
43                 ReceiveFailure = 3,\r
44 \r
45                 /// <summary><para>\r
46                 ///        A complete request could not be sent to the remote server.\r
47                 ///     </para></summary>\r
48                 SendFailure = 4,\r
49 \r
50                 /// <summary></summary>\r
51                 PipelineFailure = 5,\r
52 \r
53                 /// <summary><para> The request was canceled or the <see cref="M:System.Net.WebRequest.Abort" qualify="true" /> method was called.\r
54                 ///    </para></summary>\r
55                 RequestCanceled = 6,\r
56 \r
57                 /// <summary><para> \r
58                 ///  The response received from the server was complete\r
59                 ///  but indicated a protocol-level error.\r
60                 ///  </para><para><block subset="none" type="note">For example, an HTTP protocol error such \r
61                 ///  as 401 Access Denied would use this status. </block></para></summary>\r
62                 ProtocolError = 7,\r
63 \r
64                 /// <summary><para>\r
65                 ///        The connection was prematurely closed.\r
66                 ///     </para></summary>\r
67                 ConnectionClosed = 8,\r
68 \r
69                 /// <summary><para>\r
70                 ///        A server certificate could not be validated.\r
71                 ///     </para></summary>\r
72                 TrustFailure = 9,\r
73 \r
74                 /// <summary><para>\r
75                 ///        An error occurred in a secure channel link.\r
76                 ///     </para></summary>\r
77                 SecureChannelFailure = 10,\r
78 \r
79                 /// <summary><para>The server response was not a valid HTTP response.</para></summary>\r
80                 ServerProtocolViolation = 11,\r
81 \r
82                 /// <summary><para>The connection for a request that specifies the Keep-alive \r
83                 ///       header was closed unexpectedly.</para></summary>\r
84                 KeepAliveFailure = 12,\r
85 \r
86                 /// <summary><para> An internal asynchronous request is pending.</para></summary>\r
87                 Pending = 13,\r
88 \r
89                 /// <summary><para>No response was received during the timeout period for a request.</para></summary>\r
90                 Timeout = 14,\r
91 \r
92                 /// <summary><para>The name resolver service could not resolve the proxy host name.</para></summary>\r
93                 ProxyNameResolutionFailure = 15,\r
94         } // WebExceptionStatus\r
95 \r
96 } // System.Net\r