Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MigrationsException Class

Entity Framework 5.0

Represents errors that occur inside the Code First Migrations pipeline.

Namespace:  System.Data.Entity.Migrations.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)
public class MigrationsException : Exception

The MigrationsException type exposes the following members.

Public methodMigrationsException()Initializes a new instance of the MigrationsException class.
Public methodMigrationsException(String) Initializes a new instance of the MigrationsException class.
Protected methodMigrationsException(SerializationInfo, StreamingContext) Initializes a new instance of the MigrationsException class with serialized data.
Public methodMigrationsException(String, Exception)Initializes a new instance of the MigrationsException 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.