48 lines
2.0 KiB
C#
48 lines
2.0 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.NetworkInformation
|
|
{
|
|
/// <summary>The exception that is thrown when an error occurs while retrieving network information.</summary>
|
|
// Token: 0x020002FC RID: 764
|
|
[Token(Token = "0x20002FC")]
|
|
[Serializable]
|
|
public class NetworkInformationException : Win32Exception
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> class.</summary>
|
|
// Token: 0x06001465 RID: 5221 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001465")]
|
|
[Address(RVA = "0x22314D0", Offset = "0x22302D0", VA = "0x1822314D0")]
|
|
public NetworkInformationException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> class with serialized data.</summary>
|
|
/// <param name="serializationInfo">A SerializationInfo object that contains the serialized exception data.</param>
|
|
/// <param name="streamingContext">A StreamingContext that contains contextual information about the serialized exception.</param>
|
|
// Token: 0x06001466 RID: 5222 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001466")]
|
|
[Address(RVA = "0x2231560", Offset = "0x2230360", VA = "0x182231560")]
|
|
protected NetworkInformationException(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the <see langword="Win32" /> error code for this exception.</summary>
|
|
/// <returns>An <see cref="T:System.Int32" /> value that contains the <see langword="Win32" /> error code.</returns>
|
|
// Token: 0x17000422 RID: 1058
|
|
// (get) Token: 0x06001467 RID: 5223 RVA: 0x00009360 File Offset: 0x00007560
|
|
[Token(Token = "0x17000422")]
|
|
public override int ErrorCode
|
|
{
|
|
[Token(Token = "0x6001467")]
|
|
[Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240", Slot = "12")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
}
|