ModelValidationException Methods |
The ModelValidationException type exposes the following members.
Name | Description | |
---|---|---|
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.) | |
GetType | Gets the runtime type of the current instance. (Inherited from Exception.) | |
ToString | Creates and returns a string representation of the current exception. (Inherited from Exception.) | |
TryEnsureLogEntry |
Tries to create an entry in the log if not already created and if a log is available.
(Inherited from MicaException.)Returns true if an entry has just been created. |
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GenerateDisplayMessage | Generates a description of the exception. This description includes type and message. | |
GenerateDisplayMessageForWeb | Generates a description of the exception. This description includes type and message. Lines will be separated by a BR tag. | |
GenerateFullDisplayMessage | Generates a description of the exception and its inner exceptions. These descriptions include type and message. | |
GenerateFullDisplayMessageForWeb | Generates a description of the exception and its inner exceptions. These descriptions include type and message. Lines will be separated by a BR tag. | |
GenerateFullTechnicalMessage | 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. | |
GenerateFullTechnicalMessageForWeb | 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. | |
GenerateTechnicalMessage | Generates a complete description of the exception. This description includes type, message, steps and stack trace. | |
GenerateTechnicalMessageForWeb | Generates a complete description of the exception. This description includes type, message, steps and stack trace. Lines will be separated by a BR tag. | |
GetAllExceptions |
Gets all exceptions of the specified exception.
This includes the exception itself followed by its inner exceptions.
(Defined by Exceptions.) | |
GetAllInnerExceptions |
Gets all inner exceptions of the specified exception.
(Defined by Exceptions.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
GetTraceLog |
Gets the complete stack trace, each line representing a method call.
(Defined by Exceptions.)Note : if a builder is provided, this method will return null. | |
GetTraceLogForWeb |
Gets the complete stack trace as HTML, each line representing a method call.
(Defined by Exceptions.)Note : if a builder is provided, this method will return an empty HTML string. | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |