ISharePointCommandLogger.WriteLine Method (String, LogCategory)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Writes a message to the Output window or Error List window with the specified category.
Namespace: Microsoft.VisualStudio.SharePoint.Commands
Assembly: Microsoft.VisualStudio.SharePoint.Commands (in Microsoft.VisualStudio.SharePoint.Commands.dll)
Syntax
'Declaration
Sub WriteLine ( _
message As String, _
category As LogCategory _
)
void WriteLine(
string message,
LogCategory category
)
Parameters
message
Type: System.StringThe message text.
category
Type: Microsoft.VisualStudio.SharePoint.Commands.LogCategoryThe category of the message. This specifies whether the message appears in the Output window or Error List window (or both), and where the message appears in the Error List window.
.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.