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