SaveChangesFailedEventArgs(Boolean, Exception) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework