a
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net
|
||||
{
|
||||
/// <summary>Defines status codes for the <see cref="T:System.Net.WebException" /> class.</summary>
|
||||
// Token: 0x0200023B RID: 571
|
||||
[Token(Token = "0x200023B")]
|
||||
public enum WebExceptionStatus
|
||||
{
|
||||
/// <summary>No error was encountered.</summary>
|
||||
// Token: 0x04000849 RID: 2121
|
||||
[Token(Token = "0x4000849")]
|
||||
Success,
|
||||
/// <summary>The name resolver service could not resolve the host name.</summary>
|
||||
// Token: 0x0400084A RID: 2122
|
||||
[Token(Token = "0x400084A")]
|
||||
NameResolutionFailure,
|
||||
/// <summary>The remote service point could not be contacted at the transport level.</summary>
|
||||
// Token: 0x0400084B RID: 2123
|
||||
[Token(Token = "0x400084B")]
|
||||
ConnectFailure,
|
||||
/// <summary>A complete response was not received from the remote server.</summary>
|
||||
// Token: 0x0400084C RID: 2124
|
||||
[Token(Token = "0x400084C")]
|
||||
ReceiveFailure,
|
||||
/// <summary>A complete request could not be sent to the remote server.</summary>
|
||||
// Token: 0x0400084D RID: 2125
|
||||
[Token(Token = "0x400084D")]
|
||||
SendFailure,
|
||||
/// <summary>The request was a pipelined request and the connection was closed before the response was received.</summary>
|
||||
// Token: 0x0400084E RID: 2126
|
||||
[Token(Token = "0x400084E")]
|
||||
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: 0x0400084F RID: 2127
|
||||
[Token(Token = "0x400084F")]
|
||||
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: 0x04000850 RID: 2128
|
||||
[Token(Token = "0x4000850")]
|
||||
ProtocolError,
|
||||
/// <summary>The connection was prematurely closed.</summary>
|
||||
// Token: 0x04000851 RID: 2129
|
||||
[Token(Token = "0x4000851")]
|
||||
ConnectionClosed,
|
||||
/// <summary>A server certificate could not be validated.</summary>
|
||||
// Token: 0x04000852 RID: 2130
|
||||
[Token(Token = "0x4000852")]
|
||||
TrustFailure,
|
||||
/// <summary>An error occurred while establishing a connection using SSL.</summary>
|
||||
// Token: 0x04000853 RID: 2131
|
||||
[Token(Token = "0x4000853")]
|
||||
SecureChannelFailure,
|
||||
/// <summary>The server response was not a valid HTTP response.</summary>
|
||||
// Token: 0x04000854 RID: 2132
|
||||
[Token(Token = "0x4000854")]
|
||||
ServerProtocolViolation,
|
||||
/// <summary>The connection for a request that specifies the Keep-alive header was closed unexpectedly.</summary>
|
||||
// Token: 0x04000855 RID: 2133
|
||||
[Token(Token = "0x4000855")]
|
||||
KeepAliveFailure,
|
||||
/// <summary>An internal asynchronous request is pending.</summary>
|
||||
// Token: 0x04000856 RID: 2134
|
||||
[Token(Token = "0x4000856")]
|
||||
Pending,
|
||||
/// <summary>No response was received during the time-out period for a request.</summary>
|
||||
// Token: 0x04000857 RID: 2135
|
||||
[Token(Token = "0x4000857")]
|
||||
Timeout,
|
||||
/// <summary>The name resolver service could not resolve the proxy host name.</summary>
|
||||
// Token: 0x04000858 RID: 2136
|
||||
[Token(Token = "0x4000858")]
|
||||
ProxyNameResolutionFailure,
|
||||
/// <summary>An exception of unknown type has occurred.</summary>
|
||||
// Token: 0x04000859 RID: 2137
|
||||
[Token(Token = "0x4000859")]
|
||||
UnknownError,
|
||||
/// <summary>A message was received that exceeded the specified limit when sending a request or receiving a response from the server.</summary>
|
||||
// Token: 0x0400085A RID: 2138
|
||||
[Token(Token = "0x400085A")]
|
||||
MessageLengthLimitExceeded,
|
||||
/// <summary>The specified cache entry was not found.</summary>
|
||||
// Token: 0x0400085B RID: 2139
|
||||
[Token(Token = "0x400085B")]
|
||||
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: 0x0400085C RID: 2140
|
||||
[Token(Token = "0x400085C")]
|
||||
RequestProhibitedByCachePolicy,
|
||||
/// <summary>This request was not permitted by the proxy.</summary>
|
||||
// Token: 0x0400085D RID: 2141
|
||||
[Token(Token = "0x400085D")]
|
||||
RequestProhibitedByProxy
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user