ISaveChangesInterceptor.SaveChangesCanceledAsync Method

Definition

Called when DbContext.SaveChangesAsync was canceled.

C#
public virtual System.Threading.Tasks.Task SaveChangesCanceledAsync (Microsoft.EntityFrameworkCore.Diagnostics.DbContextEventData eventData, System.Threading.CancellationToken cancellationToken = default);

Parameters

eventData
DbContextEventData

Contextual information about the failure.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for the task to complete.

Returns

A Task representing the asynchronous operation.

Exceptions

Applies to

Produkt Versioner
Entity Framework Core 7.0, 8.0, 9.0