Método ModelBusEnabledTextTransformation.ReportError

Converte de erros de modelbus para erros de modelo de texto. Chama isso.Erro ou isso.Dependendo do valor de categoria de aviso.

Namespace:  Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.10.0 (em Microsoft.VisualStudio.TextTemplating.Modeling.10.0.dll)

Sintaxe

'Declaração
Protected Overridable Sub ReportError ( _
    category As ErrorCategory, _
    message As String _
)
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 function ReportError(
    category : ErrorCategory, 
    message : String
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

ModelBusEnabledTextTransformation Classe

Namespace Microsoft.VisualStudio.TextTemplating.Modeling