DbUpdateException コンストラクター

定義

オーバーロード

DbUpdateException()

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

DbUpdateException(String)

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

DbUpdateException(SerializationInfo, StreamingContext)
古い.

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

DbUpdateException(String, IReadOnlyList<EntityEntry>)

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

DbUpdateException(String, IReadOnlyList<IUpdateEntry>)

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

DbUpdateException(String, Exception)

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

DbUpdateException(String, Exception, IReadOnlyList<EntityEntry>)

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

DbUpdateException(String, Exception, IReadOnlyList<IUpdateEntry>)

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

DbUpdateException()

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

public DbUpdateException ();
Public Sub New ()

適用対象

DbUpdateException(String)

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

public DbUpdateException (string message);
new Microsoft.EntityFrameworkCore.DbUpdateException : string -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String)

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

適用対象

DbUpdateException(SerializationInfo, StreamingContext)

注意事項

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

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

public DbUpdateException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
public DbUpdateException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EntityFrameworkCore.DbUpdateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EntityFrameworkCore.DbUpdateException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")>]
new Microsoft.EntityFrameworkCore.DbUpdateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

シリアル化情報。

context
StreamingContext

使用されているストリーミング コンテキスト。

属性

適用対象

DbUpdateException(String, IReadOnlyList<EntityEntry>)

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

public DbUpdateException (string message, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry> -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, entries As IReadOnlyList(Of EntityEntry))

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

entries
IReadOnlyList<EntityEntry>

エラーに関連したエントリ。

適用対象

DbUpdateException(String, IReadOnlyList<IUpdateEntry>)

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

public DbUpdateException (string message, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, entries As IReadOnlyList(Of IUpdateEntry))

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

entries
IReadOnlyList<IUpdateEntry>

エラーに関連したエントリ。

適用対象

DbUpdateException(String, Exception)

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

public DbUpdateException (string message, Exception innerException);
public DbUpdateException (string message, Exception? innerException);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * Exception -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

innerException
Exception

現在の例外の原因となった例外。

適用対象

DbUpdateException(String, Exception, IReadOnlyList<EntityEntry>)

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

public DbUpdateException (string message, Exception? innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * Exception * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry> -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, innerException As Exception, entries As IReadOnlyList(Of EntityEntry))

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

innerException
Exception

現在の例外の原因となった例外。

entries
IReadOnlyList<EntityEntry>

エラーに関連したエントリ。

適用対象

DbUpdateException(String, Exception, IReadOnlyList<IUpdateEntry>)

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

public DbUpdateException (string message, Exception innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
public DbUpdateException (string message, Exception? innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * Exception * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, innerException As Exception, entries As IReadOnlyList(Of IUpdateEntry))

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

innerException
Exception

現在の例外の原因となった例外。

entries
IReadOnlyList<IUpdateEntry>

エラーに関連したエントリ。

適用対象