Partager via


ISharePointProjectLogger.WriteLine, méthode (String, LogCategory, String, Int32, Int32, Int32)

Stocke un message au volet sortie par outils SharePoint et Liste d'erreurs selon le LogCategory spécifié.

Espace de noms :  Microsoft.VisualStudio.SharePoint
Assembly :  Microsoft.VisualStudio.SharePoint (dans Microsoft.VisualStudio.SharePoint.dll)

Syntaxe

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

Paramètres

  • message
    Type : String

    Texte du message.

  • filePath
    Type : String

    Chemin d'accès complet au fichier à l'erreur.

  • lineNumber
    Type : Int32

    Numéro de ligne de l'erreur.

  • columnNumber
    Type : Int32

    Nombre d'erreur.

  • subcategoryId
    Type : Int32

    L'identificateur de sous-catégorie de message.

Sécurité .NET Framework

Voir aussi

Référence

ISharePointProjectLogger Interface

WriteLine, surcharge

Microsoft.VisualStudio.SharePoint, espace de noms