Share via


ISharePointProjectLogger.WriteLine Method (String, LogCategory, String, Int32, Int32, Int32)

Logs a message to SharePoint Tools output pane and Error List depending on the specified LogCategory.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

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

Parameters

  • message
    Type: String

    The message text.

  • filePath
    Type: String

    The full path to file with error.

  • lineNumber
    Type: Int32

    The line number of error.

  • columnNumber
    Type: Int32

    The column number of error.

  • subcategoryId
    Type: Int32

    The message subcategory identifier.

.NET Framework Security

See Also

Reference

ISharePointProjectLogger Interface

WriteLine Overload

Microsoft.VisualStudio.SharePoint Namespace