Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost (in Microsoft.VisualStudio.TextTemplating.VSHost.dll)
Syntax
'宣言
Protected Overridable Sub GeneratorErrorCallback ( _
warning As Boolean, _
level As Integer, _
message As String, _
line As Integer, _
column As Integer _
)
'使用
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)
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
)
protected function GeneratorErrorCallback(
warning : boolean,
level : int,
message : String,
line : int,
column : int
)
Parameters
- warning
Type: System.Boolean
- level
Type: System.Int32
- message
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.