WarningsConfiguration.GetBehavior(EventId) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient l’ensemble WarningBehavior de l’ID d’événement donné, ou null si aucun comportement explicite n’a été défini.
public virtual Microsoft.EntityFrameworkCore.WarningBehavior? GetBehavior(Microsoft.Extensions.Logging.EventId eventId);
abstract member GetBehavior : Microsoft.Extensions.Logging.EventId -> Nullable<Microsoft.EntityFrameworkCore.WarningBehavior>
override this.GetBehavior : Microsoft.Extensions.Logging.EventId -> Nullable<Microsoft.EntityFrameworkCore.WarningBehavior>
Public Overridable Function GetBehavior (eventId As EventId) As Nullable(Of WarningBehavior)
Paramètres
- eventId
- EventId