Condividi tramite


Costruttore DbUpdateException (String, Exception)

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Inizializza una nuova istanza della classe DbUpdateException.

Spazio dei nomi:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Utilizzo
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
)

Parametri

Vedere anche

Riferimento

DbUpdateException Classe

Overload DbUpdateException

Spazio dei nomi System.Data.Entity.Infrastructure