ILoggingOptions.ShouldWarnForStringEnumValueInJson(Type) 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.
Retourne true si un avertissement relatif aux valeurs de chaîne pour le type d’énumération donné n’a pas encore été exécuté.
public bool ShouldWarnForStringEnumValueInJson (Type enumType);
abstract member ShouldWarnForStringEnumValueInJson : Type -> bool
Public Function ShouldWarnForStringEnumValueInJson (enumType As Type) As Boolean
Paramètres
- enumType
- Type
Type à vérifier.
Retours
Indique si un avertissement a été émis ou non.