OptimisticConcurrencyException クラス

定義

更新操作がコンカレンシー制約に違反すると、この例外がスローされます。

[System.Serializable]
public sealed class OptimisticConcurrencyException : System.Data.Entity.Core.UpdateException
type OptimisticConcurrencyException = class
    inherit UpdateException
Public NotInheritable Class OptimisticConcurrencyException
Inherits UpdateException
継承
OptimisticConcurrencyException
属性

コンストラクター

名前 説明
OptimisticConcurrencyException()

OptimisticConcurrencyException の新しいインスタンスを初期化します。

OptimisticConcurrencyException(String)

専用のエラー メッセージを使用して、OptimisticConcurrencyException の新しいインスタンスを初期化します。

OptimisticConcurrencyException(String, Exception)

指定したエラー メッセージと内部例外への参照を使用する OptimisticConcurrencyException の新しいインスタンスを初期化します。

OptimisticConcurrencyException(String, Exception, IEnumerable<ObjectStateEntry>)

指定したエラー メッセージ、内部例外への参照、および OptimisticConcurrencyException オブジェクトの列挙可能なコレクションを使用する ObjectStateEntry の新しいインスタンスを初期化します。

プロパティ

名前 説明
StateEntries

この UpdateExceptionObjectStateEntryオブジェクトを取得します。

(継承元 UpdateException)

適用対象