SaveChangesFailedEventArgs(Boolean, Exception) Constructor

Definition

Creates a new SaveChangesFailedEventArgs instance with the exception that was thrown.

public SaveChangesFailedEventArgs (bool acceptAllChangesOnSuccess, Exception exception);
new Microsoft.EntityFrameworkCore.SaveChangesFailedEventArgs : bool * Exception -> Microsoft.EntityFrameworkCore.SaveChangesFailedEventArgs
Public Sub New (acceptAllChangesOnSuccess As Boolean, exception As Exception)

Parameters

acceptAllChangesOnSuccess
Boolean

The value passed to SaveChanges.

exception
Exception

The exception thrown.

Applies to