ModelBusEnabledTextTransformation.ReportError (Método)

Convierte de errores de ModelBus a errores de plantilla de texto.Llama a this.Error o this.Warning, dependiendo del valor de categoría.

Espacio de nombres:  Microsoft.VisualStudio.TextTemplating.Modeling
Ensamblado:  Microsoft.VisualStudio.TextTemplating.Modeling.11.0 (en Microsoft.VisualStudio.TextTemplating.Modeling.11.0.dll)

Sintaxis

'Declaración
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

Seguridad de .NET Framework

Vea también

Referencia

ModelBusEnabledTextTransformation Clase

Microsoft.VisualStudio.TextTemplating.Modeling (Espacio de nombres)