ModelError ModelError ModelError ModelError Class

Definition

Represents an error that occurs during model binding.

public ref class ModelError
[System.Serializable]
public class ModelError
type ModelError = class
Public Class ModelError
Inheritance
ModelErrorModelErrorModelErrorModelError
Attributes

Constructors

ModelError(Exception) ModelError(Exception) ModelError(Exception) ModelError(Exception)

Initializes a new instance of the ModelError class using the specified exception.

ModelError(Exception, String) ModelError(Exception, String) ModelError(Exception, String) ModelError(Exception, String)

Initializes a new instance of the ModelError class using the specified exception and error message.

ModelError(String) ModelError(String) ModelError(String) ModelError(String)

Initializes a new instance of the ModelError class using the specified error message.

Properties

ErrorMessage ErrorMessage ErrorMessage ErrorMessage

Gets the error message.

Exception Exception Exception Exception

Gets the exception object.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to