ISharePointProjectLogger.WriteLine Method (String, LogCategory, String, Int32, Int32, 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, _
filePath As String, _
lineNumber As Integer, _
columnNumber As Integer, _
subcategoryId As Integer _
)
void WriteLine(
string message,
LogCategory category,
string filePath,
int lineNumber,
int columnNumber,
int subcategoryId
)
Parameters
message
Type: StringThe message text.
category
Type: Microsoft.VisualStudio.SharePoint.LogCategoryThe message log category.
filePath
Type: StringThe full path to file with error.
lineNumber
Type: Int32The line number of error.
columnNumber
Type: Int32The column number of error.
subcategoryId
Type: Int32The 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.