using System;
using Cpp2IlInjected;
namespace System.Net
{
/// Defines status codes for the class.
// Token: 0x0200023B RID: 571
[Token(Token = "0x200023B")]
public enum WebExceptionStatus
{
/// No error was encountered.
// Token: 0x04000849 RID: 2121
[Token(Token = "0x4000849")]
Success,
/// The name resolver service could not resolve the host name.
// Token: 0x0400084A RID: 2122
[Token(Token = "0x400084A")]
NameResolutionFailure,
/// The remote service point could not be contacted at the transport level.
// Token: 0x0400084B RID: 2123
[Token(Token = "0x400084B")]
ConnectFailure,
/// A complete response was not received from the remote server.
// Token: 0x0400084C RID: 2124
[Token(Token = "0x400084C")]
ReceiveFailure,
/// A complete request could not be sent to the remote server.
// Token: 0x0400084D RID: 2125
[Token(Token = "0x400084D")]
SendFailure,
/// The request was a pipelined request and the connection was closed before the response was received.
// Token: 0x0400084E RID: 2126
[Token(Token = "0x400084E")]
PipelineFailure,
/// The request was canceled, the method was called, or an unclassifiable error occurred. This is the default value for .
// Token: 0x0400084F RID: 2127
[Token(Token = "0x400084F")]
RequestCanceled,
/// The response received from the server was complete but indicated a protocol-level error. For example, an HTTP protocol error such as 401 Access Denied would use this status.
// Token: 0x04000850 RID: 2128
[Token(Token = "0x4000850")]
ProtocolError,
/// The connection was prematurely closed.
// Token: 0x04000851 RID: 2129
[Token(Token = "0x4000851")]
ConnectionClosed,
/// A server certificate could not be validated.
// Token: 0x04000852 RID: 2130
[Token(Token = "0x4000852")]
TrustFailure,
/// An error occurred while establishing a connection using SSL.
// Token: 0x04000853 RID: 2131
[Token(Token = "0x4000853")]
SecureChannelFailure,
/// The server response was not a valid HTTP response.
// Token: 0x04000854 RID: 2132
[Token(Token = "0x4000854")]
ServerProtocolViolation,
/// The connection for a request that specifies the Keep-alive header was closed unexpectedly.
// Token: 0x04000855 RID: 2133
[Token(Token = "0x4000855")]
KeepAliveFailure,
/// An internal asynchronous request is pending.
// Token: 0x04000856 RID: 2134
[Token(Token = "0x4000856")]
Pending,
/// No response was received during the time-out period for a request.
// Token: 0x04000857 RID: 2135
[Token(Token = "0x4000857")]
Timeout,
/// The name resolver service could not resolve the proxy host name.
// Token: 0x04000858 RID: 2136
[Token(Token = "0x4000858")]
ProxyNameResolutionFailure,
/// An exception of unknown type has occurred.
// Token: 0x04000859 RID: 2137
[Token(Token = "0x4000859")]
UnknownError,
/// A message was received that exceeded the specified limit when sending a request or receiving a response from the server.
// Token: 0x0400085A RID: 2138
[Token(Token = "0x400085A")]
MessageLengthLimitExceeded,
/// The specified cache entry was not found.
// Token: 0x0400085B RID: 2139
[Token(Token = "0x400085B")]
CacheEntryNotFound,
/// The request was not permitted by the cache policy. In general, this occurs when a request is not cacheable and the effective policy prohibits sending the request to the server. You might receive this status if a request method implies the presence of a request body, a request method requires direct interaction with the server, or a request contains a conditional header.
// Token: 0x0400085C RID: 2140
[Token(Token = "0x400085C")]
RequestProhibitedByCachePolicy,
/// This request was not permitted by the proxy.
// Token: 0x0400085D RID: 2141
[Token(Token = "0x400085D")]
RequestProhibitedByProxy
}
}