Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Logs the specified model error.
Namespace: System.Web.Http.Validation
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub LogError ( _
errorPath As String, _
errorMessage As String _
)
'Usage
Dim instance As ModelStateFormatterLogger
Dim errorPath As String
Dim errorMessage As String
instance.LogError(errorPath, errorMessage)
public void LogError(
string errorPath,
string errorMessage
)
public:
virtual void LogError(
String^ errorPath,
String^ errorMessage
) sealed
abstract LogError :
errorPath:string *
errorMessage:string -> unit
override LogError :
errorPath:string *
errorMessage:string -> unit
public final function LogError(
errorPath : String,
errorMessage : String
)
Parameters
errorPath
Type: System.StringThe error path.
errorMessage
Type: System.StringThe error message.
Implements
IFormatterLogger.LogError(String, String)