Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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: System.String- The message text. 
- category 
 Type: Microsoft.VisualStudio.SharePoint.LogCategory- The message log category. 
- helpKeyword 
 Type: System.String- The help keyword for error. 
- subcategoryId 
 Type: System.Int32- The message subcategory identifier. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.