scripts
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>The exception thrown when an invalid COM object is used.</summary>
|
||||
// Token: 0x0200032A RID: 810
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class InvalidComObjectException : SystemException
|
||||
{
|
||||
/// <summary>Initializes an instance of the InvalidComObjectException with default properties.</summary>
|
||||
// Token: 0x0600223B RID: 8763 RVA: 0x000797E0 File Offset: 0x000779E0
|
||||
public InvalidComObjectException()
|
||||
: base(Locale.GetText("Invalid COM object is used"))
|
||||
{
|
||||
base.HResult = -2146233049;
|
||||
}
|
||||
|
||||
/// <summary>Initializes an instance of the InvalidComObjectException with a message.</summary>
|
||||
/// <param name="message">The message that indicates the reason for the exception. </param>
|
||||
// Token: 0x0600223C RID: 8764 RVA: 0x00079800 File Offset: 0x00077A00
|
||||
public InvalidComObjectException(string message)
|
||||
: base(message)
|
||||
{
|
||||
base.HResult = -2146233049;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.InvalidComObjectException" /> 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 null, the current exception is raised in a catch block that handles the inner exception. </param>
|
||||
// Token: 0x0600223D RID: 8765 RVA: 0x00079814 File Offset: 0x00077A14
|
||||
public InvalidComObjectException(string message, Exception inner)
|
||||
: base(message, inner)
|
||||
{
|
||||
base.HResult = -2146233049;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the COMException 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 null. </exception>
|
||||
// Token: 0x0600223E RID: 8766 RVA: 0x0007982C File Offset: 0x00077A2C
|
||||
protected InvalidComObjectException(SerializationInfo info, StreamingContext context)
|
||||
: base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000D60 RID: 3424
|
||||
private const int ErrorCode = -2146233049;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user