using System;
using System.Runtime.Serialization;
namespace System.Runtime.InteropServices
{
/// The exception thrown when the rank of an incoming SAFEARRAY does not match the rank specified in the managed signature.
// Token: 0x0200033D RID: 829
[ComVisible(true)]
[Serializable]
public class SafeArrayRankMismatchException : SystemException
{
/// Initializes a new instance of the SafeArrayTypeMismatchException class with default values.
// Token: 0x0600230E RID: 8974 RVA: 0x0007A748 File Offset: 0x00078948
public SafeArrayRankMismatchException()
: base(Locale.GetText("The incoming SAVEARRAY does not match the rank of the expected managed signature"))
{
base.HResult = -2146233032;
}
/// Initializes a new instance of the SafeArrayRankMismatchException class with the specified message.
/// The message that indicates the reason for the exception.
// Token: 0x0600230F RID: 8975 RVA: 0x0007A768 File Offset: 0x00078968
public SafeArrayRankMismatchException(string message)
: base(message)
{
base.HResult = -2146233032;
}
/// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
/// The error message that explains the reason for the exception.
/// The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06002310 RID: 8976 RVA: 0x0007A77C File Offset: 0x0007897C
public SafeArrayRankMismatchException(string message, Exception inner)
: base(message, inner)
{
base.HResult = -2146233032;
}
/// Initializes a new instance of the SafeArrayTypeMismatchException class from serialization data.
/// The object that holds the serialized object data.
/// The contextual information about the source or destination.
///
/// is null.
// Token: 0x06002311 RID: 8977 RVA: 0x0007A794 File Offset: 0x00078994
protected SafeArrayRankMismatchException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x04000DA5 RID: 3493
private const int ErrorCode = -2146233032;
}
}