Freigeben über


DbUpdateException-Konstruktor (String, Exception)

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Initialisiert eine neue Instanz der DbUpdateException-Klasse.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String 
Dim innerException As Exception 

Dim instance As New DbUpdateException(message, _
    innerException)
public DbUpdateException(
    string message,
    Exception innerException
)
public:
DbUpdateException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> DbUpdateException
public function DbUpdateException(
    message : String, 
    innerException : Exception
)

Parameter

Siehe auch

Verweis

DbUpdateException Klasse

DbUpdateException-Überladung

System.Data.Entity.Infrastructure-Namespace