AutomaticDataLossException - конструктор (String, Exception)
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Инициализирует новый экземпляр класса MigrationsException.
Пространство имен: System.Data.Entity.Migrations.Infrastructure
Сборка: EntityFramework (в EntityFramework.dll)
Синтаксис
'Декларация
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Применение
Dim message As String
Dim innerException As Exception
Dim instance As New AutomaticDataLossException(message, _
innerException)
public AutomaticDataLossException(
string message,
Exception innerException
)
public:
AutomaticDataLossException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> AutomaticDataLossException
public function AutomaticDataLossException(
message : String,
innerException : Exception
)
Параметры
- message
Тип: System.String
Сообщение, описывающее ошибку.
- innerException
Тип: System.Exception
Исключение, вызвавшее текущее исключение, или пустая ссылка (Nothing в Visual Basic), если внутреннее исключение не указано.
См. также
Справочник
AutomaticDataLossException Класс
AutomaticDataLossException - перегрузка
System.Data.Entity.Migrations.Infrastructure - пространство имен