Compartir a través de


DbUpdateException (Constructor) (String, Exception)

[Esta página es específica de la versión 6 de Entity Framework. La versión más reciente está disponible como el paquete NuGet de Entity Framework. Para más información sobre Entity Framework, consulte msdn.com/es-ES/data/ef].

Inicializa una nueva instancia de la clase DbUpdateException.

Espacio de nombres:  System.Data.Entity.Infrastructure
Ensamblado:  EntityFramework (en EntityFramework.dll)

Sintaxis

'Declaración
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Uso
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
)

Parámetros

Vea también

Referencia

DbUpdateException Clase

DbUpdateException (Sobrecarga)

System.Data.Entity.Infrastructure (Espacio de nombres)