共用方式為


BaseTemplatedCodeGenerator.ErrorCallback 方法

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

語法

'宣告
Public Sub ErrorCallback ( _
    warning As Boolean, _
    message As String, _
    line As Integer, _
    column As Integer _
)
public void ErrorCallback(
    bool warning,
    string message,
    int line,
    int column
)
public:
virtual void ErrorCallback(
    bool warning, 
    String^ message, 
    int line, 
    int column
) sealed
abstract ErrorCallback : 
        warning:bool * 
        message:string * 
        line:int * 
        column:int -> unit 
override ErrorCallback : 
        warning:bool * 
        message:string * 
        line:int * 
        column:int -> unit 
public final function ErrorCallback(
    warning : boolean, 
    message : String, 
    line : int, 
    column : int
)

參數

實作

ITextTemplatingCallback.ErrorCallback(Boolean, String, Int32, Int32)

.NET Framework 安全性

請參閱

參考

BaseTemplatedCodeGenerator 類別

Microsoft.VisualStudio.TextTemplating.VSHost 命名空間