Dela via


SerializableError Constructors

Definition

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.

Applies to