Click or drag to resize

ModelValidationException Methods

The ModelValidationException type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetBaseExceptionWhen overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectDataWhen overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception)
Public methodGetTypeGets the runtime type of the current instance.
(Inherited from Exception)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Output model map exception as string
(Overrides ExceptionToString)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodGetHttpStatusCode Get the HTTP status code for exception
(Defined by HttpErrorUtility)
Public Extension MethodIsCommunicationException Will iterate through the exception and determine whether the exception was caused by a communication/network issue
(Defined by ExtensionMethods)
Public Extension MethodIsHttpException Determines if exception represents an HTTP error condition
(Defined by ExtensionMethods)
Public Extension MethodIsTimeoutException Iterates through the exception causes and returns true if any exception in the hierarchy is a TimeoutException
(Defined by ExtensionMethods)
Public Extension MethodToHumanReadableString Convert the exception to a human readable string
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also