语言

MigrationsPendingException 构造函数

定义

重载

名称 说明
MigrationsPendingException()

初始化 MigrationsPendingException 类的新实例。

MigrationsPendingException(String)

初始化 MigrationsPendingException 类的新实例。

MigrationsPendingException(String, Exception)

初始化 MigrationsPendingException 类的新实例。

MigrationsPendingException()

初始化 MigrationsPendingException 类的新实例。

public MigrationsPendingException();
Public Sub New ()

适用于

MigrationsPendingException(String)

初始化 MigrationsPendingException 类的新实例。

public MigrationsPendingException(string message);
new System.Data.Entity.Migrations.Infrastructure.MigrationsPendingException : string -> System.Data.Entity.Migrations.Infrastructure.MigrationsPendingException
Public Sub New (message As String)

参数

message
String

描述错误的消息。

适用于

MigrationsPendingException(String, Exception)

初始化 MigrationsPendingException 类的新实例。

public MigrationsPendingException(string message, Exception innerException);
new System.Data.Entity.Migrations.Infrastructure.MigrationsPendingException : string * Exception -> System.Data.Entity.Migrations.Infrastructure.MigrationsPendingException
Public Sub New (message As String, innerException As Exception)

参数

message
String

描述错误的消息。

innerException
Exception

作为当前异常原因的异常,如果未指定内部异常,则为 null 引用 (Visual Basic) 中无任何内容。

适用于