Sdílet prostřednictvím


BaseCodeGenerator.GeneratorErrorCallback Method

Definition

method that will communicate an error via the shell callback mechanism.

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)

Parameters

warning
Boolean

true if this is a warning

level
Int32

level or severity

message
String

text displayed to the user

line
Int32

line number of error/warning

column
Int32

column number of error/warning

Applies to