ISharePointProjectLogger.WriteLine Method (String, LogCategory)
Logs a message to the SharePoint Tools Output window 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 _
)
void WriteLine(
string message,
LogCategory category
)
Parameters
- message
Type: System.String
The message text.
- category
Type: Microsoft.VisualStudio.SharePoint.LogCategory
The message log category, specified by LogCategory.
.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.