Udostępnij za pośrednictwem


Metoda ModelBusEnabledTextTransformation.ReportError —

Konwertuje od ModelBus błędów błędy tekst szablonu.Wymaga to.Błąd lub to.Ostrzeżenie w zależności od wartości kategorii.

Przestrzeń nazw:  Microsoft.VisualStudio.TextTemplating.Modeling
Zestaw:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (w Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)

Składnia

'Deklaracja
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
)

Parametry

  • category
    Typ: ErrorCategory

    ModelBus ErrorCategory

  • message
    Typ: String

    Ciąg komunikatu

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ModelBusEnabledTextTransformation Klasa

Przestrzeń nazw Microsoft.VisualStudio.TextTemplating.Modeling