Language

DbUpdateException クラス

定義

データベースへの保存中にエラーが発生したときにスローされる例外。

public class DbUpdateException : Exception
[System.Runtime.CompilerServices.Nullable(0)]
[System.Serializable]
public class DbUpdateException : Exception
[System.Serializable]
public class DbUpdateException : Exception
type DbUpdateException = class
    inherit Exception
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Serializable>]
type DbUpdateException = class
    inherit Exception
[<System.Serializable>]
type DbUpdateException = class
    inherit Exception
Public Class DbUpdateException
Inherits Exception
継承
DbUpdateException
派生
属性

注釈

詳細と例については、「 EF Core を使用したデータの保存 」を参照してください。

コンストラクター

Name 説明
DbUpdateException()

DbUpdateException クラスの新しいインスタンスを初期化します。

DbUpdateException(SerializationInfo, StreamingContext)
古い.

シリアル化されたフォームから DbUpdateException クラスの新しいインスタンスを初期化します。

DbUpdateException(String, Exception, IReadOnlyList<EntityEntry>)

DbUpdateException クラスの新しいインスタンスを初期化します。

DbUpdateException(String, Exception, IReadOnlyList<IUpdateEntry>)

DbUpdateException クラスの新しいインスタンスを初期化します。

DbUpdateException(String, Exception)

DbUpdateException クラスの新しいインスタンスを初期化します。

DbUpdateException(String, IReadOnlyList<EntityEntry>)

DbUpdateException クラスの新しいインスタンスを初期化します。

DbUpdateException(String, IReadOnlyList<IUpdateEntry>)

DbUpdateException クラスの新しいインスタンスを初期化します。

DbUpdateException(String)

DbUpdateException クラスの新しいインスタンスを初期化します。

プロパティ

Name 説明
Entries

エラーに関係したエントリを取得します。 通常、これは 1 つのエントリですが、場合によっては 0 または複数のエントリになる場合があります。

適用対象