Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost (in Microsoft.VisualStudio.TextTemplating.VSHost.dll)
Syntax
'宣言
Sub ErrorCallback ( _
warning As Boolean, _
message As String, _
line As Integer, _
column As Integer _
)
'使用
Dim instance As ITextTemplatingCallback
Dim warning As Boolean
Dim message As String
Dim line As Integer
Dim column As Integer
instance.ErrorCallback(warning, message, _
line, column)
void ErrorCallback(
bool warning,
string message,
int line,
int column
)
void ErrorCallback(
bool warning,
String^ message,
int line,
int column
)
function ErrorCallback(
warning : boolean,
message : String,
line : int,
column : int
)
Parameters
- warning
Type: System.Boolean
- 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.
See Also
Reference
ITextTemplatingCallback Interface