LogWarning(String,String,String,String,Int32,Int32,Int32,Int32,String,ValidationError) Method
See Also 
SourceCode.DeploymentTasks Namespace > TaskLogger Class > LogWarning Method : LogWarning(String,String,String,String,Int32,Int32,Int32,Int32,String,ValidationError) Method



subcategory
The subcategory.
warningCode
The warning code.
helpKeyword
The help keyword.
file
The file.
lineNumber
The line number.
columnNumber
The column number.
endLineNumber
The end line number.
endColumnNumber
The end column number.
message
The message.
validationError
The validation error.

Glossary Item Box

Logs the warning.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub LogWarning( _
   ByVal subcategory As String, _
   ByVal warningCode As String, _
   ByVal helpKeyword As String, _
   ByVal file As String, _
   ByVal lineNumber As Integer, _
   ByVal columnNumber As Integer, _
   ByVal endLineNumber As Integer, _
   ByVal endColumnNumber As Integer, _
   ByVal message As String, _
   ByVal validationError As SourceCode.Framework.ValidationError _
) 
Visual Basic (Usage)Copy Code
Dim instance As TaskLogger
Dim subcategory As String
Dim warningCode As String
Dim helpKeyword As String
Dim file As String
Dim lineNumber As Integer
Dim columnNumber As Integer
Dim endLineNumber As Integer
Dim endColumnNumber As Integer
Dim message As String
Dim validationError As SourceCode.Framework.ValidationError
 
instance.LogWarning(subcategory, warningCode, helpKeyword, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, validationError)

Parameters

subcategory
The subcategory.
warningCode
The warning code.
helpKeyword
The help keyword.
file
The file.
lineNumber
The line number.
columnNumber
The column number.
endLineNumber
The end line number.
endColumnNumber
The end column number.
message
The message.
validationError
The validation error.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also