You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -0,0 +1,74 @@
|
||||
//---------------------------------------------------------------------
|
||||
// <copyright file="OptimisticConcurrencyException.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//
|
||||
// @owner [....]
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
namespace System.Data
|
||||
{
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Security.Permissions;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.Objects;
|
||||
|
||||
/// <summary>
|
||||
/// This exception is thrown when a update operation violates the concurrency constraint.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public sealed class OptimisticConcurrencyException : UpdateException
|
||||
{
|
||||
/// <summary>
|
||||
/// new OptimisticConcurrencyException object
|
||||
/// </summary>
|
||||
public OptimisticConcurrencyException()
|
||||
: base()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of OptimisticConcurrencyException
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
public OptimisticConcurrencyException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of OptimisticConcurrencyException
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
/// <param name="innerException"></param>
|
||||
public OptimisticConcurrencyException(string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of OptimisticConcurrencyException
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
/// <param name="innerException"></param>
|
||||
/// <param name="stateEntries"></param>
|
||||
public OptimisticConcurrencyException(string message, Exception innerException, IEnumerable<ObjectStateEntry> stateEntries)
|
||||
: base(message, innerException, stateEntries)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of OptimisticConcurrencyException
|
||||
/// </summary>
|
||||
/// <param name="info"></param>
|
||||
/// <param name="context"></param>
|
||||
private OptimisticConcurrencyException(SerializationInfo info, StreamingContext context)
|
||||
: base(info, context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user