SerializableError Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SerializableError() |
Initializes a new instance of the SerializableError class. |
SerializableError(ModelStateDictionary) |
Creates a new instance of SerializableError. |
SerializableError()
- Source:
- SerializableError.cs
- Source:
- SerializableError.cs
- Source:
- SerializableError.cs
Initializes a new instance of the SerializableError class.
public:
SerializableError();
public SerializableError ();
Public Sub New ()
Applies to
SerializableError(ModelStateDictionary)
- Source:
- SerializableError.cs
- Source:
- SerializableError.cs
- Source:
- SerializableError.cs
Creates a new instance of SerializableError.
public:
SerializableError(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
public SerializableError (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState);
new Microsoft.AspNetCore.Mvc.SerializableError : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.SerializableError
Public Sub New (modelState As ModelStateDictionary)
Parameters
- modelState
- ModelStateDictionary
ModelStateDictionary containing the validation errors.