RiaClientFilesTask.LogWarning Method (String, String, String, String, String, Int32, Int32, Int32, Int32)
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Logs the given message as a warning, together with information about the source location.
Namespace: Microsoft.ServiceModel.DomainServices.Tools
Assembly: Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)
Syntax
'Declaration
Public Sub LogWarning ( _
message As String, _
subcategory As String, _
errorCode As String, _
helpKeyword As String, _
file As String, _
lineNumber As Integer, _
columnNumber As Integer, _
endLineNumber As Integer, _
endColumnNumber As Integer _
)
'Usage
Dim instance As RiaClientFilesTask
Dim message As String
Dim subcategory As String
Dim errorCode 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
instance.LogWarning(message, subcategory, _
errorCode, helpKeyword, file, lineNumber, _
columnNumber, endLineNumber, endColumnNumber)
public void LogWarning(
string message,
string subcategory,
string errorCode,
string helpKeyword,
string file,
int lineNumber,
int columnNumber,
int endLineNumber,
int endColumnNumber
)
public:
virtual void LogWarning(
String^ message,
String^ subcategory,
String^ errorCode,
String^ helpKeyword,
String^ file,
int lineNumber,
int columnNumber,
int endLineNumber,
int endColumnNumber
) sealed
abstract LogWarning :
message:string *
subcategory:string *
errorCode:string *
helpKeyword:string *
file:string *
lineNumber:int *
columnNumber:int *
endLineNumber:int *
endColumnNumber:int -> unit
override LogWarning :
message:string *
subcategory:string *
errorCode:string *
helpKeyword:string *
file:string *
lineNumber:int *
columnNumber:int *
endLineNumber:int *
endColumnNumber:int -> unit
public final function LogWarning(
message : String,
subcategory : String,
errorCode : String,
helpKeyword : String,
file : String,
lineNumber : int,
columnNumber : int,
endLineNumber : int,
endColumnNumber : int
)
Parameters
- message
Type: System.String
The message to log as a warning.
- subcategory
Type: System.String
The optional description of the error type.
- errorCode
Type: System.String
The optional error code.
- helpKeyword
Type: System.String
The optional help keyword.
- file
Type: System.String
The optional path to the file containing the error.
- lineNumber
Type: System.Int32
The zero-relative line number in the file where the error begins.
- columnNumber
Type: System.Int32
The zero-relative column number in the file where the error begins.
- endLineNumber
Type: System.Int32
The zero-relative line number in the file where the error ends.
- endColumnNumber
Type: System.Int32
The zero-relative column number in the file where the error ends.