语言

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 类的新实例。

适用于