Class DuplicateMigrationException
An exception that is thrown when more than one migration with the same version was found
Inherited Members
Namespace: FluentMigrator.Exceptions
Assembly: FluentMigrator.Abstractions.dll
Syntax
[Serializable]
public class DuplicateMigrationException : FluentMigratorException, ISerializable, _Exception
Constructors
| Edit this page View SourceDuplicateMigrationException()
Initializes a new instance of the DuplicateMigrationException class.
Declaration
public DuplicateMigrationException()
DuplicateMigrationException(SerializationInfo, StreamingContext)
Initializes a new instance of the DuplicateMigrationException class.
Declaration
public DuplicateMigrationException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The serialization information |
| StreamingContext | context | The streaming context |
DuplicateMigrationException(string)
Initializes a new instance of the DuplicateMigrationException class.
Declaration
public DuplicateMigrationException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message |
DuplicateMigrationException(string, Exception)
Initializes a new instance of the DuplicateMigrationException class.
Declaration
public DuplicateMigrationException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message |
| Exception | innerException | The inner exception |