Share via


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

Parameters

  • message
    Type: String

    The message text.

  • subcategoryId
    Type: Int32

    The message subcategory identifier.

.NET Framework Security

See Also

Reference

ISharePointProjectLogger Interface

WriteLine Overload

Microsoft.VisualStudio.SharePoint Namespace