Click or drag to resize

ModelValidationException Methods

The ModelValidationException type exposes the following members.

Methods
  NameDescription
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception.)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Public methodToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)
Public methodTryEnsureLogEntry
Tries to create an entry in the log if not already created and if a log is available.

Returns true if an entry has just been created.

(Inherited from MicaException.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGenerateDisplayMessage

Generates a description of the exception.

This description includes type and message.

(Defined by Exceptions.)
Public Extension MethodGenerateDisplayMessageForWeb

Generates a description of the exception.

This description includes type and message.

Lines will be separated by a BR tag.

(Defined by Exceptions.)
Public Extension MethodGenerateFullDisplayMessage

Generates a description of the exception and its inner exceptions.

These descriptions include type and message.

(Defined by Exceptions.)
Public Extension MethodGenerateFullDisplayMessageForWeb

Generates a description of the exception and its inner exceptions.

These descriptions include type and message.

Lines will be separated by a BR tag.

(Defined by Exceptions.)
Public Extension MethodGenerateFullTechnicalMessage

Generates a complete description of the exception and its inner exceptions.

These descriptions include type, message, steps and stack trace.

If a logger is provided, the message will include its last steps.

(Defined by Exceptions.)
Public Extension MethodGenerateFullTechnicalMessageForWeb

Generates a complete description of the exception and its inner exceptions.

These descriptions include type, message, steps and stack trace.

If a logger is provided, the message will include its last steps.

Lines will be separated by a BR tag.

(Defined by Exceptions.)
Public Extension MethodGenerateTechnicalMessage

Generates a complete description of the exception.

This description includes type, message, steps and stack trace.

(Defined by Exceptions.)
Public Extension MethodGenerateTechnicalMessageForWeb

Generates a complete description of the exception.

This description includes type, message, steps and stack trace.

Lines will be separated by a BR tag.

(Defined by Exceptions.)
Public Extension MethodGetAllExceptions
Gets all exceptions of the specified exception. This includes the exception itself followed by its inner exceptions.
(Defined by Exceptions.)
Public Extension MethodGetAllInnerExceptions
Gets all inner exceptions of the specified exception.
(Defined by Exceptions.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodGetTraceLog
Gets the complete stack trace, each line representing a method call.

Note : if a builder is provided, this method will return null.

(Defined by Exceptions.)
Public Extension MethodGetTraceLogForWeb
Gets the complete stack trace as HTML, each line representing a method call.

Note : if a builder is provided, this method will return an empty HTML string.

(Defined by Exceptions.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also