Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost (in Microsoft.VisualStudio.TextTemplating.VSHost.dll)
Syntax
'宣言
Sub GeneratorError ( _
warning As Boolean, _
level As Integer, _
errorText As String, _
line As Integer, _
column As Integer _
)
'使用
Dim instance As IVsGeneratorProgress
Dim warning As Boolean
Dim level As Integer
Dim errorText As String
Dim line As Integer
Dim column As Integer
instance.GeneratorError(warning, level, _
errorText, line, column)
void GeneratorError(
bool warning,
int level,
string errorText,
int line,
int column
)
void GeneratorError(
bool warning,
int level,
String^ errorText,
int line,
int column
)
function GeneratorError(
warning : boolean,
level : int,
errorText : String,
line : int,
column : int
)
Parameters
- warning
Type: System.Boolean
- level
Type: System.Int32
- errorText
Type: System.String
- line
Type: System.Int32
- column
Type: System.Int32
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.