IVsGeneratorProgress.GeneratorError 方法

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

語法

'宣告
Sub GeneratorError ( _
    warning As Boolean, _
    level As Integer, _
    errorText As String, _
    line As Integer, _
    column As Integer _
)
void GeneratorError(
    bool warning,
    int level,
    string errorText,
    int line,
    int column
)
void GeneratorError(
    bool warning, 
    int level, 
    String^ errorText, 
    int line, 
    int column
)
abstract GeneratorError : 
        warning:bool * 
        level:int * 
        errorText:string * 
        line:int * 
        column:int -> unit 
function GeneratorError(
    warning : boolean, 
    level : int, 
    errorText : String, 
    line : int, 
    column : int
)

參數

.NET Framework 安全性

請參閱

參考

IVsGeneratorProgress 介面

Microsoft.VisualStudio.TextTemplating.VSHost 命名空間