Search Results for

    Show / Hide Table of Contents

    Class IncompleteMigrationExpressionException

    The exception that is thrown when a migration expression is not executed.

    Inheritance
    System.Object
    System.Exception
    Namespace: Umbraco.Cms.Infrastructure.Migrations
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class IncompleteMigrationExpressionException : Exception, ISerializable, _Exception
    Remarks

    Migration expressions such as Alter.Table(...).Do() must end with Do(), else they are not executed. When a non-executed expression is detected, an IncompleteMigrationExpressionException is thrown.

    Constructors

    IncompleteMigrationExpressionException()

    Initializes a new instance of the IncompleteMigrationExpressionException class.

    Declaration
    public IncompleteMigrationExpressionException()

    IncompleteMigrationExpressionException(SerializationInfo, StreamingContext)

    Initializes a new instance of the IncompleteMigrationExpressionException class.

    Declaration
    protected IncompleteMigrationExpressionException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

    StreamingContext context

    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

    IncompleteMigrationExpressionException(String)

    Initializes a new instance of the IncompleteMigrationExpressionException class with a message.

    Declaration
    public IncompleteMigrationExpressionException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    IncompleteMigrationExpressionException(String, Exception)

    Initializes a new instance of the IncompleteMigrationExpressionException class.

    Declaration
    public IncompleteMigrationExpressionException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    The error message that explains the reason for the exception.

    System.Exception innerException

    The exception that is the cause of the current exception, or a null reference (langword_csharp_Nothing in Visual Basic) if no inner exception is specified.

    In This Article
    • Constructors
      • IncompleteMigrationExpressionException()
      • IncompleteMigrationExpressionException(SerializationInfo, StreamingContext)
      • IncompleteMigrationExpressionException(String)
      • IncompleteMigrationExpressionException(String, Exception)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX