ModelErrorCollection Class

Definition

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 exception instance.

Add(String)

Adds the specified error message.

Applies to