Share via


ModelErrorCollection Klasse

Definition

Eine Auflistung von ModelError-Instanzen.

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)
Vererbung
ModelErrorCollection

Konstruktoren

ModelErrorCollection()

Eine Auflistung von ModelError-Instanzen.

Methoden

Add(Exception)

Fügt die angegebene exception instance hinzu.

Add(String)

Fügt die angegebene Fehlermeldung hinzu.

Gilt für: