BaseCodeGenerator.GeneratorErrorCallback Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

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)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId := "Microsoft.VisualStudio.Shell.Interop.IVsGeneratorProgress.GeneratorError(System.Int32,System.UInt32,System.String,System.UInt32,System.UInt32)")> _
Protected Overridable Sub GeneratorErrorCallback ( _
    warning As Boolean, _
    level As Integer, _
    message As String, _
    line As Integer, _
    column As Integer _
)
'Usage
Dim warning As Boolean 
Dim level As Integer 
Dim message As String 
Dim line As Integer 
Dim column As Integer 

Me.GeneratorErrorCallback(warning, _
    level, message, line, column)
[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
)
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1806:DoNotIgnoreMethodResults", MessageId = L"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
)
[<SuppressMessageAttribute("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "Microsoft.VisualStudio.Shell.Interop.IVsGeneratorProgress.GeneratorError(System.Int32,System.UInt32,System.String,System.UInt32,System.UInt32)")>]
abstract GeneratorErrorCallback : 
        warning:bool * 
        level:int * 
        message:string * 
        line:int * 
        column:int -> unit 
[<SuppressMessageAttribute("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "Microsoft.VisualStudio.Shell.Interop.IVsGeneratorProgress.GeneratorError(System.Int32,System.UInt32,System.String,System.UInt32,System.UInt32)")>]
override GeneratorErrorCallback : 
        warning:bool * 
        level:int * 
        message:string * 
        line:int * 
        column:int -> unit
protected function GeneratorErrorCallback(
    warning : boolean, 
    level : int, 
    message : String, 
    line : int, 
    column : int
)

Parameters

See Also

Reference

BaseCodeGenerator Class

Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator Namespace