Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DbUnexpectedValidationException Class
Collapse the table of content
Expand the table of content

DbUnexpectedValidationException Class

Entity Framework 5.0

Exception thrown from GetValidationErrors() when an exception is thrown from the validation code.


Namespace:  System.Data.Entity.Validation
Assembly:  EntityFramework (in EntityFramework.dll)

public class DbUnexpectedValidationException : DataException

The DbUnexpectedValidationException type exposes the following members.

Public methodDbUnexpectedValidationException()Initializes a new instance of the DbUnexpectedValidationException class.
Public methodDbUnexpectedValidationException(String)Initializes a new instance of the DbUnexpectedValidationException class.
Protected methodDbUnexpectedValidationException(SerializationInfo, StreamingContext)Initializes a new instance of the DbUnexpectedValidationException class with the specified serialization information and context.
Public methodDbUnexpectedValidationException(String, Exception)Initializes a new instance of the DbUnexpectedValidationException class.

Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)

Protected eventSerializeObjectState (Inherited from Exception.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft