ModelErrorCollection Class
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.
A collection of ModelError instances.
public ref class ModelErrorCollection : System::Collections::ObjectModel::Collection<Microsoft::AspNetCore::Mvc::ModelBinding::ModelError ^>
public class ModelErrorCollection : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Mvc.ModelBinding.ModelError>
type ModelErrorCollection = class
inherit Collection<ModelError>
Public Class ModelErrorCollection
Inherits Collection(Of ModelError)
- Inheritance
-
ModelErrorCollection
Constructors
ModelErrorCollection() |
Methods
Add(Exception) |
Adds the specified |
Add(String) |
Adds the specified error message. |
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: