using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net
{
/// The exception that is thrown when an error occurs while accessing the network through a pluggable protocol.
// Token: 0x02000235 RID: 565
[Token(Token = "0x2000235")]
[Serializable]
public class WebException : InvalidOperationException, ISerializable
{
/// Initializes a new instance of the class.
// Token: 0x06000E2E RID: 3630 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E2E")]
[Address(RVA = "0x7755C0", Offset = "0x7745C0", VA = "0x1807755C0")]
public WebException()
{
}
/// Initializes a new instance of the class with the specified error message.
/// The text of the error message.
// Token: 0x06000E2F RID: 3631 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E2F")]
[Address(RVA = "0x7756F0", Offset = "0x7746F0", VA = "0x1807756F0")]
public WebException(string message)
{
}
/// Initializes a new instance of the class with the specified error message and nested exception.
/// The text of the error message.
/// A nested exception.
// Token: 0x06000E30 RID: 3632 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E30")]
[Address(RVA = "0x7756D0", Offset = "0x7746D0", VA = "0x1807756D0")]
public WebException(string message, Exception innerException)
{
}
/// Initializes a new instance of the class with the specified error message and status.
/// The text of the error message.
/// One of the values.
// Token: 0x06000E31 RID: 3633 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E31")]
[Address(RVA = "0x775710", Offset = "0x774710", VA = "0x180775710")]
public WebException(string message, WebExceptionStatus status)
{
}
// Token: 0x06000E32 RID: 3634 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E32")]
[Address(RVA = "0x7758F0", Offset = "0x7748F0", VA = "0x1807758F0")]
internal WebException(string message, WebExceptionStatus status, WebExceptionInternalStatus internalStatus, Exception innerException)
{
}
/// Initializes a new instance of the class with the specified error message, nested exception, status, and response.
/// The text of the error message.
/// A nested exception.
/// One of the values.
/// A instance that contains the response from the remote host.
// Token: 0x06000E33 RID: 3635 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E33")]
[Address(RVA = "0x7757A0", Offset = "0x7747A0", VA = "0x1807757A0")]
public WebException(string message, Exception innerException, WebExceptionStatus status, WebResponse response)
{
}
// Token: 0x06000E34 RID: 3636 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E34")]
[Address(RVA = "0x775610", Offset = "0x774610", VA = "0x180775610")]
internal WebException(string message, string data, Exception innerException, WebExceptionStatus status, WebResponse response)
{
}
// Token: 0x06000E35 RID: 3637 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E35")]
[Address(RVA = "0x775520", Offset = "0x774520", VA = "0x180775520")]
internal WebException(string message, Exception innerException, WebExceptionStatus status, WebResponse response, WebExceptionInternalStatus internalStatus)
{
}
// Token: 0x06000E36 RID: 3638 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E36")]
[Address(RVA = "0x775830", Offset = "0x774830", VA = "0x180775830")]
internal WebException(string message, string data, Exception innerException, WebExceptionStatus status, WebResponse response, WebExceptionInternalStatus internalStatus)
{
}
/// Initializes a new instance of the class from the specified and instances.
/// A that contains the information required to serialize the new .
/// A that contains the source of the serialized stream that is associated with the new .
// Token: 0x06000E37 RID: 3639 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E37")]
[Address(RVA = "0x7755E0", Offset = "0x7745E0", VA = "0x1807755E0")]
protected WebException(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// Serializes this instance into the specified object.
/// The object into which this will be serialized.
/// The destination of the serialization.
// Token: 0x06000E38 RID: 3640 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E38")]
[Address(RVA = "0x7754F0", Offset = "0x7744F0", VA = "0x1807754F0", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// Populates a instance with the data needed to serialize the .
/// The to be used.
/// The to be used.
// Token: 0x06000E39 RID: 3641 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E39")]
[Address(RVA = "0x7754D0", Offset = "0x7744D0", VA = "0x1807754D0", Slot = "10")]
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// Gets the status of the response.
/// One of the values.
// Token: 0x170002A3 RID: 675
// (get) Token: 0x06000E3A RID: 3642 RVA: 0x00007218 File Offset: 0x00005418
[Token(Token = "0x170002A3")]
public WebExceptionStatus Status
{
[Token(Token = "0x6000E3A")]
[Address(RVA = "0x4F3F50", Offset = "0x4F2F50", VA = "0x1804F3F50")]
get
{
return WebExceptionStatus.Success;
}
}
// Token: 0x04000833 RID: 2099
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4000833")]
private WebExceptionStatus m_Status;
// Token: 0x04000834 RID: 2100
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x4000834")]
private WebResponse m_Response;
// Token: 0x04000835 RID: 2101
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x4000835")]
[NonSerialized]
private WebExceptionInternalStatus m_InternalStatus;
}
}