Files
Apr2020-Cpp2Il-Dump/mscorlib/System/Runtime/InteropServices/COMException.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

55 lines
2.7 KiB
C#

using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>The exception that is thrown when an unrecognized HRESULT is returned from a COM method call.</summary>
// Token: 0x0200057C RID: 1404
[Token(Token = "0x200057C")]
[ComVisible(true)]
[Serializable]
public class COMException : ExternalException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.COMException" /> class with default values.</summary>
// Token: 0x06002AAA RID: 10922 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AAA")]
[Address(RVA = "0x294BFE0", Offset = "0x294ADE0", VA = "0x18294BFE0")]
public COMException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.COMException" /> class with a specified message and error code.</summary>
/// <param name="message">The message that indicates the reason the exception occurred.</param>
/// <param name="errorCode">The error code (HRESULT) value associated with this exception.</param>
// Token: 0x06002AAB RID: 10923 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AAB")]
[Address(RVA = "0x294C040", Offset = "0x294AE40", VA = "0x18294C040")]
public COMException(string message, int errorCode)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.COMException" /> class from serialization data.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that holds the serialized object data.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that supplies the contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06002AAC RID: 10924 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AAC")]
[Address(RVA = "0x4E7140", Offset = "0x4E5F40", VA = "0x1804E7140")]
protected COMException(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Converts the contents of the exception to a string.</summary>
/// <returns>A string containing the <see cref="P:System.Exception.HResult" />, <see cref="P:System.Exception.Message" />, <see cref="P:System.Exception.InnerException" />, and <see cref="P:System.Exception.StackTrace" /> properties of the exception.</returns>
// Token: 0x06002AAD RID: 10925 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002AAD")]
[Address(RVA = "0x294BE40", Offset = "0x294AC40", VA = "0x18294BE40", Slot = "3")]
public override string ToString()
{
return null;
}
}
}