共用方式為


DbUpdateException 建構函式

定義

多載

DbUpdateException()

初始化 DbUpdateException 類別的新執行個體。

DbUpdateException(String)

初始化 DbUpdateException 類別的新執行個體。

DbUpdateException(String, Exception)

初始化 DbUpdateException 類別的新執行個體。

DbUpdateException()

初始化 DbUpdateException 類別的新執行個體。

public DbUpdateException();
Public Sub New ()

適用於

DbUpdateException(String)

初始化 DbUpdateException 類別的新執行個體。

public DbUpdateException(string message);
new System.Data.Entity.Infrastructure.DbUpdateException : string -> System.Data.Entity.Infrastructure.DbUpdateException
Public Sub New (message As String)

參數

message
String

訊息。

適用於

DbUpdateException(String, Exception)

初始化 DbUpdateException 類別的新執行個體。

public DbUpdateException(string message, Exception innerException);
new System.Data.Entity.Infrastructure.DbUpdateException : string * Exception -> System.Data.Entity.Infrastructure.DbUpdateException
Public Sub New (message As String, innerException As Exception)

參數

message
String

訊息。

innerException
Exception

內部例外狀況。

適用於