1 // WebExceptionStatus.cs
\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
9 // (C) 2001 Ximian, Inc. http://www.ximian.com
\r
12 namespace System.Net {
\r
16 /// <para> Defines status codes for the <see cref="T:System.Net.WebException" /> class.
\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
24 public enum WebExceptionStatus {
\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
32 /// The name resolver service could not resolve the host name.
\r
33 /// </para></summary>
\r
34 NameResolutionFailure = 1,
\r
36 /// <summary><para> The remote service point could not be contacted at the transport level.
\r
37 /// </para></summary>
\r
41 /// A complete response was not received from the remote server.
\r
42 /// </para></summary>
\r
46 /// A complete request could not be sent to the remote server.
\r
47 /// </para></summary>
\r
50 /// <summary></summary>
\r
51 PipelineFailure = 5,
\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
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
65 /// The connection was prematurely closed.
\r
66 /// </para></summary>
\r
67 ConnectionClosed = 8,
\r
70 /// A server certificate could not be validated.
\r
71 /// </para></summary>
\r
75 /// An error occurred in a secure channel link.
\r
76 /// </para></summary>
\r
77 SecureChannelFailure = 10,
\r
79 /// <summary><para>The server response was not a valid HTTP response.</para></summary>
\r
80 ServerProtocolViolation = 11,
\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
86 /// <summary><para> An internal asynchronous request is pending.</para></summary>
\r
89 /// <summary><para>No response was received during the timeout period for a request.</para></summary>
\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