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, _
exception As Exception _
)
'Usage
Dim instance As ModelStateFormatterLogger
Dim errorPath As String
Dim exception As Exception
instance.LogError(errorPath, exception)
public void LogError(
string errorPath,
Exception exception
)
public:
virtual void LogError(
String^ errorPath,
Exception^ exception
) sealed
abstract LogError :
errorPath:string *
exception:Exception -> unit
override LogError :
errorPath:string *
exception:Exception -> unit
public final function LogError(
errorPath : String,
exception : Exception
)
Parameters
errorPath
Type: System.StringThe error path.
exception
Type: System.ExceptionThe error message.
Implements
IFormatterLogger.LogError(String, Exception)