Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts from ModelBus errors to Text Template errors. Calls this.Error or this.Warning depending on the category value.
Namespace:   Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)
Syntax
protected virtual void ReportError(
    ErrorCategory category,
    string message
)
protected:
virtual void ReportError(
    ErrorCategory category,
    String^ message
)
abstract ReportError : 
        category:ErrorCategory *
        message:string -> unit
override ReportError : 
        category:ErrorCategory *
        message:string -> unit
Protected Overridable Sub ReportError (
    category As ErrorCategory,
    message As String
)
Parameters
- category 
 Type: Microsoft.VisualStudio.Modeling.Integration.ErrorCategory- ModelBus ErrorCategory 
- message 
 Type: System.String- Message string 
See Also
ModelBusEnabledTextTransformation Class
Microsoft.VisualStudio.TextTemplating.Modeling Namespace
Return to top