Share via


ISharePointProjectLogger.WriteLine Method (String, LogCategory, String, 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, _
    helpKeyword As String, _
    subcategoryId As Integer _
)
void WriteLine(
    string message,
    LogCategory category,
    string helpKeyword,
    int subcategoryId
)

Parameters

  • message
    Type: String

    The message text.

  • helpKeyword
    Type: String

    The help keyword for error.

  • subcategoryId
    Type: Int32

    The message subcategory identifier.

.NET Framework Security

See Also

Reference

ISharePointProjectLogger Interface

WriteLine Overload

Microsoft.VisualStudio.SharePoint Namespace