共用方式為


BaseCodeGenerator.GeneratorErrorCallback 方法

命名空間:  Microsoft.VisualStudio.TextTemplating.VSHost
組件:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (在 Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll 中)

語法

'宣告
Protected Overridable Sub GeneratorErrorCallback ( _
    warning As Boolean, _
    level As Integer, _
    message As String, _
    line As Integer, _
    column As Integer _
)
protected virtual void GeneratorErrorCallback(
    bool warning,
    int level,
    string message,
    int line,
    int column
)
protected:
virtual void GeneratorErrorCallback(
    bool warning, 
    int level, 
    String^ message, 
    int line, 
    int column
)
abstract GeneratorErrorCallback : 
        warning:bool * 
        level:int * 
        message:string * 
        line:int * 
        column:int -> unit 
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
)

參數

.NET Framework 安全性

請參閱

參考

BaseCodeGenerator 類別

Microsoft.VisualStudio.TextTemplating.VSHost 命名空間