Partager via


CoreLoggerExtensions.ContextDisposed Méthode

Définition

Journaux de l’événement ContextDisposed .

public static void ContextDisposed (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, Microsoft.EntityFrameworkCore.DbContext context);
static member ContextDisposed : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * Microsoft.EntityFrameworkCore.DbContext -> unit
<Extension()>
Public Sub ContextDisposed (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), context As DbContext)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Enregistreur d’diagnostics à utiliser.

context
DbContext

Contexte utilisé.

S’applique à