Udostępnij za pośrednictwem


Metoda Source.CreateErrorTaskItem — (TextSpan, MARKERTYPE, String)

Tworzy nowy element zadania błędu dla Listy błędów, podany tekst, typ znacznika i nazwę pliku.

Przestrzeń nazw:  Microsoft.VisualStudio.Package
Zestawy:   Microsoft.VisualStudio.Package.LanguageService.10.0 (w Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (w Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (w Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (w Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Składnia

'Deklaracja
Public Overridable Function CreateErrorTaskItem ( _
    span As TextSpan, _
    markerType As MARKERTYPE, _
    filename As String _
) As DocumentTask
public virtual DocumentTask CreateErrorTaskItem(
    TextSpan span,
    MARKERTYPE markerType,
    string filename
)

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.Package.DocumentTask
Nowe wystąpienie DocumentTask.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Source Klasa

Przeciążenie CreateErrorTaskItem

Przestrzeń nazw Microsoft.VisualStudio.Package