41 lines
1.8 KiB
C#
41 lines
1.8 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Data
|
|
{
|
|
/// <summary>Represents the exception that is thrown when attempting an action that violates a constraint.</summary>
|
|
// Token: 0x0200001A RID: 26
|
|
[Token(Token = "0x200001A")]
|
|
[Serializable]
|
|
public class ConstraintException : DataException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.ConstraintException" /> class using the specified serialization and stream context.</summary>
|
|
/// <param name="info">The data necessary to serialize or deserialize an object.</param>
|
|
/// <param name="context">Description of the source and destination of the specified serialized stream.</param>
|
|
// Token: 0x06000143 RID: 323 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000143")]
|
|
[Address(RVA = "0xCD81D0", Offset = "0xCD71D0", VA = "0x180CD81D0")]
|
|
protected ConstraintException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.ConstraintException" /> class. This is the default constructor.</summary>
|
|
// Token: 0x06000144 RID: 324 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000144")]
|
|
[Address(RVA = "0xCD8160", Offset = "0xCD7160", VA = "0x180CD8160")]
|
|
public ConstraintException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.ConstraintException" /> class with the specified string.</summary>
|
|
/// <param name="s">The string to display when the exception is thrown.</param>
|
|
// Token: 0x06000145 RID: 325 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000145")]
|
|
[Address(RVA = "0xCD81B0", Offset = "0xCD71B0", VA = "0x180CD81B0")]
|
|
public ConstraintException(string s)
|
|
{
|
|
}
|
|
}
|
|
}
|