scripts
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
/// <summary>The exception that is thrown when an error occurs while retrieving network information.</summary>
|
||||
// Token: 0x020001A1 RID: 417
|
||||
[Serializable]
|
||||
public class NetworkInformationException : Exception
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> class.</summary>
|
||||
// Token: 0x06000DDC RID: 3548 RVA: 0x00026DDC File Offset: 0x00024FDC
|
||||
public NetworkInformationException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> class with the specified error code.</summary>
|
||||
/// <param name="errorCode">A Win32 error code. </param>
|
||||
// Token: 0x06000DDD RID: 3549 RVA: 0x00026DE4 File Offset: 0x00024FE4
|
||||
public NetworkInformationException(int errorCode)
|
||||
{
|
||||
this.error_code = errorCode;
|
||||
}
|
||||
|
||||
/// <summary>Gets the Win32 error code for this exception.</summary>
|
||||
/// <returns>An <see cref="T:System.Int32" /> value that contains the Win32 error code.</returns>
|
||||
// Token: 0x17000482 RID: 1154
|
||||
// (get) Token: 0x06000DDE RID: 3550 RVA: 0x00026DF4 File Offset: 0x00024FF4
|
||||
public int ErrorCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.error_code;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000C90 RID: 3216
|
||||
private int error_code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user