ModelStateFormatterLogger Class
This IFormatterLogger logs formatter errors to the provided ModelStateDictionary.
Inheritance Hierarchy
System.Object
System.Web.Http.Validation.ModelStateFormatterLogger
Namespace: System.Web.Http.Validation
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class ModelStateFormatterLogger _
Implements IFormatterLogger
'Usage
Dim instance As ModelStateFormatterLogger
public class ModelStateFormatterLogger : IFormatterLogger
public ref class ModelStateFormatterLogger : IFormatterLogger
type ModelStateFormatterLogger =
class
interface IFormatterLogger
end
public class ModelStateFormatterLogger implements IFormatterLogger
The ModelStateFormatterLogger type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelStateFormatterLogger | Initializes a new instance of the ModelStateFormatterLogger class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
LogError(String, Exception) | Logs the specified model error. | |
LogError(String, String) | Logs the specified model error. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
No content here will be updated; please do not add material here.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.