Udostępnij za pośrednictwem


Metoda ISharePointProjectLogger.WriteLine — (String, LogCategory, String, Int32, Int32, String, Int32)

Dziennik wiadomości do narzędzia programu SharePoint wyjściowe okienka i listy błędów w zależności od określonego LogCategory.

Przestrzeń nazw:  Microsoft.VisualStudio.SharePoint
Zestaw:  Microsoft.VisualStudio.SharePoint (w Microsoft.VisualStudio.SharePoint.dll)

Składnia

'Deklaracja
Sub WriteLine ( _
    message As String, _
    category As LogCategory, _
    filePath As String, _
    lineNumber As Integer, _
    columnNumber As Integer, _
    helpKeyword As String, _
    subcategoryId As Integer _
)
void WriteLine(
    string message,
    LogCategory category,
    string filePath,
    int lineNumber,
    int columnNumber,
    string helpKeyword,
    int subcategoryId
)

Parametry

  • message
    Typ: String

    Tekst komunikatu.

  • filePath
    Typ: String

    Pełna ścieżka do pliku z powodu błędu.

  • lineNumber
    Typ: Int32

    Numer błędu.

  • columnNumber
    Typ: Int32

    Numer kolumny błąd.

  • helpKeyword
    Typ: String

    Słowo kluczowe pomocy dla błędu.

  • subcategoryId
    Typ: Int32

    Identyfikator wiadomości podkategorii.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ISharePointProjectLogger Interfejs

Przeciążenie WriteLine

Przestrzeń nazw Microsoft.VisualStudio.SharePoint