89 lines
4.1 KiB
C#
89 lines
4.1 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>The base exception type for all COM interop exceptions and structured exception handling (SEH) exceptions.</summary>
|
|
// Token: 0x0200057E RID: 1406
|
|
[Token(Token = "0x200057E")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ExternalException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class with default properties.</summary>
|
|
// Token: 0x06002AAE RID: 10926 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002AAE")]
|
|
[Address(RVA = "0x2379900", Offset = "0x2378700", VA = "0x182379900")]
|
|
public ExternalException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class with a specified error message.</summary>
|
|
/// <param name="message">The error message that specifies the reason for the exception.</param>
|
|
// Token: 0x06002AAF RID: 10927 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002AAF")]
|
|
[Address(RVA = "0x2379990", Offset = "0x2378790", VA = "0x182379990")]
|
|
public ExternalException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ExternalException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
/// <param name="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
|
// Token: 0x06002AB0 RID: 10928 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002AB0")]
|
|
[Address(RVA = "0x2379960", Offset = "0x2378760", VA = "0x182379960")]
|
|
public ExternalException(string message, Exception inner)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class with a specified error message and the HRESULT of the error.</summary>
|
|
/// <param name="message">The error message that specifies the reason for the exception.</param>
|
|
/// <param name="errorCode">The HRESULT of the error.</param>
|
|
// Token: 0x06002AB1 RID: 10929 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002AB1")]
|
|
[Address(RVA = "0x23798D0", Offset = "0x23786D0", VA = "0x1823798D0")]
|
|
public ExternalException(string message, int errorCode)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class from serialization data.</summary>
|
|
/// <param name="info">The object that holds the serialized object data.</param>
|
|
/// <param name="context">The contextual information about the source or destination.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06002AB2 RID: 10930 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002AB2")]
|
|
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
|
|
protected ExternalException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the <see langword="HRESULT" /> of the error.</summary>
|
|
/// <returns>The <see langword="HRESULT" /> of the error.</returns>
|
|
// Token: 0x17000651 RID: 1617
|
|
// (get) Token: 0x06002AB3 RID: 10931 RVA: 0x00016A28 File Offset: 0x00014C28
|
|
[Token(Token = "0x17000651")]
|
|
public virtual int ErrorCode
|
|
{
|
|
[Token(Token = "0x6002AB3")]
|
|
[Address(RVA = "0xD17AD0", Offset = "0xD168D0", VA = "0x180D17AD0", Slot = "12")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns a string that contains the HRESULT of the error.</summary>
|
|
/// <returns>A string that represents the HRESULT.</returns>
|
|
// Token: 0x06002AB4 RID: 10932 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002AB4")]
|
|
[Address(RVA = "0x2379730", Offset = "0x2378530", VA = "0x182379730", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|