97 lines
4.3 KiB
C#
97 lines
4.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Defines status codes for the <see cref="T:System.Net.WebException" /> class.</summary>
|
|
// Token: 0x02000237 RID: 567
|
|
[Token(Token = "0x2000237")]
|
|
public enum WebExceptionStatus
|
|
{
|
|
/// <summary>No error was encountered.</summary>
|
|
// Token: 0x0400083C RID: 2108
|
|
[Token(Token = "0x400083C")]
|
|
Success,
|
|
/// <summary>The name resolver service could not resolve the host name.</summary>
|
|
// Token: 0x0400083D RID: 2109
|
|
[Token(Token = "0x400083D")]
|
|
NameResolutionFailure,
|
|
/// <summary>The remote service point could not be contacted at the transport level.</summary>
|
|
// Token: 0x0400083E RID: 2110
|
|
[Token(Token = "0x400083E")]
|
|
ConnectFailure,
|
|
/// <summary>A complete response was not received from the remote server.</summary>
|
|
// Token: 0x0400083F RID: 2111
|
|
[Token(Token = "0x400083F")]
|
|
ReceiveFailure,
|
|
/// <summary>A complete request could not be sent to the remote server.</summary>
|
|
// Token: 0x04000840 RID: 2112
|
|
[Token(Token = "0x4000840")]
|
|
SendFailure,
|
|
/// <summary>The request was a pipelined request and the connection was closed before the response was received.</summary>
|
|
// Token: 0x04000841 RID: 2113
|
|
[Token(Token = "0x4000841")]
|
|
PipelineFailure,
|
|
/// <summary>The request was canceled, the <see cref="M:System.Net.WebRequest.Abort" /> method was called, or an unclassifiable error occurred. This is the default value for <see cref="P:System.Net.WebException.Status" />.</summary>
|
|
// Token: 0x04000842 RID: 2114
|
|
[Token(Token = "0x4000842")]
|
|
RequestCanceled,
|
|
/// <summary>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.</summary>
|
|
// Token: 0x04000843 RID: 2115
|
|
[Token(Token = "0x4000843")]
|
|
ProtocolError,
|
|
/// <summary>The connection was prematurely closed.</summary>
|
|
// Token: 0x04000844 RID: 2116
|
|
[Token(Token = "0x4000844")]
|
|
ConnectionClosed,
|
|
/// <summary>A server certificate could not be validated.</summary>
|
|
// Token: 0x04000845 RID: 2117
|
|
[Token(Token = "0x4000845")]
|
|
TrustFailure,
|
|
/// <summary>An error occurred while establishing a connection using SSL.</summary>
|
|
// Token: 0x04000846 RID: 2118
|
|
[Token(Token = "0x4000846")]
|
|
SecureChannelFailure,
|
|
/// <summary>The server response was not a valid HTTP response.</summary>
|
|
// Token: 0x04000847 RID: 2119
|
|
[Token(Token = "0x4000847")]
|
|
ServerProtocolViolation,
|
|
/// <summary>The connection for a request that specifies the Keep-alive header was closed unexpectedly.</summary>
|
|
// Token: 0x04000848 RID: 2120
|
|
[Token(Token = "0x4000848")]
|
|
KeepAliveFailure,
|
|
/// <summary>An internal asynchronous request is pending.</summary>
|
|
// Token: 0x04000849 RID: 2121
|
|
[Token(Token = "0x4000849")]
|
|
Pending,
|
|
/// <summary>No response was received during the time-out period for a request.</summary>
|
|
// Token: 0x0400084A RID: 2122
|
|
[Token(Token = "0x400084A")]
|
|
Timeout,
|
|
/// <summary>The name resolver service could not resolve the proxy host name.</summary>
|
|
// Token: 0x0400084B RID: 2123
|
|
[Token(Token = "0x400084B")]
|
|
ProxyNameResolutionFailure,
|
|
/// <summary>An exception of unknown type has occurred.</summary>
|
|
// Token: 0x0400084C RID: 2124
|
|
[Token(Token = "0x400084C")]
|
|
UnknownError,
|
|
/// <summary>A message was received that exceeded the specified limit when sending a request or receiving a response from the server.</summary>
|
|
// Token: 0x0400084D RID: 2125
|
|
[Token(Token = "0x400084D")]
|
|
MessageLengthLimitExceeded,
|
|
/// <summary>The specified cache entry was not found.</summary>
|
|
// Token: 0x0400084E RID: 2126
|
|
[Token(Token = "0x400084E")]
|
|
CacheEntryNotFound,
|
|
/// <summary>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.</summary>
|
|
// Token: 0x0400084F RID: 2127
|
|
[Token(Token = "0x400084F")]
|
|
RequestProhibitedByCachePolicy,
|
|
/// <summary>This request was not permitted by the proxy.</summary>
|
|
// Token: 0x04000850 RID: 2128
|
|
[Token(Token = "0x4000850")]
|
|
RequestProhibitedByProxy
|
|
}
|
|
}
|