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
)
參數
- warning
型別:System.Boolean
- level
型別:System.Int32
- message
型別:System.String
- line
型別:System.Int32
- column
型別:System.Int32
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。