BaseCodeGenerator.GeneratorErrorCallback Method (Boolean, Int32, String, Int32, Int32)

 

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

Namespace:   Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

[SuppressMessageAttribute("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", 
	MessageId = "Microsoft.VisualStudio.Shell.Interop.IVsGeneratorProgress.GeneratorError(System.Int32,System.UInt32,System.String,System.UInt32,System.UInt32)")]
protected virtual void GeneratorErrorCallback(
	bool warning,
	int level,
	string message,
	int line,
	int column
)

Parameters

warning
Type: System.Boolean

true if this is a warning

level
Type: System.Int32

level or severity

message
Type: System.String

text displayed to the user

line
Type: System.Int32

line number of error/warning

column
Type: System.Int32

column number of error/warning