Show / Hide Table of Contents

    Class InvalidOperationException

    When an operation constraint is not satisfied, usually something like: not using a Transaction when setting properties, or failing to .Add an object and .Lock before modifing any object.

    Inheritance
    object
    Exception
    ApplicationException
    InvalidOperationException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.ToString()
    Exception.GetType()
    Exception.TargetSite
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.StackTrace
    Exception.SerializeObjectState
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: DesignData.SDS2.Exceptions
    Assembly: DesignData.SDS2.Exceptions.dll
    Syntax
    public class InvalidOperationException : ApplicationException, ISerializable

    Constructors

    InvalidOperationException(string)

    When an operation constraint is not satisfied, usually something like: not using a Transaction when setting properties, or failing to .Add an object and .Lock before modifing any object.

    Declaration
    public InvalidOperationException(string message)
    Parameters
    Type Name Description
    string message

    Implements

    ISerializable
    Back to top