using System;
namespace System.Net
{
/// Defines status codes for the class.
// Token: 0x02000267 RID: 615
public enum WebExceptionStatus
{
/// No error was encountered.
// Token: 0x04001259 RID: 4697
Success,
/// The name resolver service could not resolve the host name.
// Token: 0x0400125A RID: 4698
NameResolutionFailure,
/// The remote service point could not be contacted at the transport level.
// Token: 0x0400125B RID: 4699
ConnectFailure,
/// A complete response was not received from the remote server.
// Token: 0x0400125C RID: 4700
ReceiveFailure,
/// A complete request could not be sent to the remote server.
// Token: 0x0400125D RID: 4701
SendFailure,
/// The request was a piplined request and the connection was closed before the response was received.
// Token: 0x0400125E RID: 4702
PipelineFailure,
/// The request was canceled, the method was called, or an unclassifiable error occurred. This is the default value for .
// Token: 0x0400125F RID: 4703
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: 0x04001260 RID: 4704
ProtocolError,
/// The connection was prematurely closed.
// Token: 0x04001261 RID: 4705
ConnectionClosed,
/// A server certificate could not be validated.
// Token: 0x04001262 RID: 4706
TrustFailure,
/// An error occurred while establishing a connection using SSL.
// Token: 0x04001263 RID: 4707
SecureChannelFailure,
/// The server response was not a valid HTTP response.
// Token: 0x04001264 RID: 4708
ServerProtocolViolation,
/// The connection for a request that specifies the Keep-alive header was closed unexpectedly.
// Token: 0x04001265 RID: 4709
KeepAliveFailure,
/// An internal asynchronous request is pending.
// Token: 0x04001266 RID: 4710
Pending,
/// No response was received during the time-out period for a request.
// Token: 0x04001267 RID: 4711
Timeout,
/// The name resolver service could not resolve the proxy host name.
// Token: 0x04001268 RID: 4712
ProxyNameResolutionFailure,
/// An exception of unknown type has occurred.
// Token: 0x04001269 RID: 4713
UnknownError,
/// A message was received that exceeded the specified limit when sending a request or receiving a response from the server.
// Token: 0x0400126A RID: 4714
MessageLengthLimitExceeded,
/// The specified cache entry was not found.
// Token: 0x0400126B RID: 4715
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: 0x0400126C RID: 4716
RequestProhibitedByCachePolicy,
/// This request was not permitted by the proxy.
// Token: 0x0400126D RID: 4717
RequestProhibitedByProxy
}
}