MigrationsException 类

定义

表示Code First 迁移管道内发生的错误。

[System.Serializable]
public class MigrationsException : Exception
type MigrationsException = class
    inherit Exception
Public Class MigrationsException
Inherits Exception
继承
MigrationsException
派生
属性

构造函数

MigrationsException()

初始化 MigrationsException 类的新实例。

MigrationsException(SerializationInfo, StreamingContext)

使用序列化的数据初始化 MigrationsException 类的新实例。

MigrationsException(String, Exception)

初始化 MigrationsException 类的新实例。

MigrationsException(String)

初始化 MigrationsException 类的新实例。

适用于