BaseCodeGenerator.GeneratorErrorCallback(Boolean, Int32, String, Int32, Int32) 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.
méthode qui communiquera une erreur via le mécanisme de rappel du shell.
protected:
virtual void GeneratorErrorCallback(bool warning, int level, System::String ^ message, int line, int column);
protected:
virtual void GeneratorErrorCallback(bool warning, int level, Platform::String ^ message, int line, int column);
virtual void GeneratorErrorCallback(bool warning, int level, std::wstring const & message, int line, int column);
protected virtual void GeneratorErrorCallback (bool warning, int level, string message, int line, int column);
abstract member GeneratorErrorCallback : bool * int * string * int * int -> unit
override this.GeneratorErrorCallback : bool * int * string * int * int -> unit
Protected Overridable Sub GeneratorErrorCallback (warning As Boolean, level As Integer, message As String, line As Integer, column As Integer)
Paramètres
- warning
- Boolean
true s'il s'agit d'un avertissement
- level
- Int32
Niveau de gravité
- message
- String
texte affiché à l'utilisateur
- line
- Int32
Numéro de ligne de l'erreur ou de l'avertissement
- column
- Int32
numéro de colonne pour les erreurs ou les avertissements