using System; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Runtime.InteropServices { /// The exception that is thrown when an unrecognized HRESULT is returned from a COM method call. // Token: 0x0200057C RID: 1404 [Token(Token = "0x200057C")] [ComVisible(true)] [Serializable] public class COMException : ExternalException { /// Initializes a new instance of the class with default values. // Token: 0x06002AAA RID: 10922 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002AAA")] [Address(RVA = "0x294BFE0", Offset = "0x294ADE0", VA = "0x18294BFE0")] public COMException() { } /// Initializes a new instance of the class with a specified message and error code. /// The message that indicates the reason the exception occurred. /// The error code (HRESULT) value associated with this exception. // 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) { } /// Initializes a new instance of the class from serialization data. /// The object that holds the serialized object data. /// The object that supplies the contextual information about the source or destination. /// /// is . // 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) { } /// Converts the contents of the exception to a string. /// A string containing the , , , and properties of the exception. // 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; } } }