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
System.Object
System.Exception
System.ApplicationException
InvalidOperationException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DesignData.SDS2.Exceptions
Assembly: DesignData.SDS2.Exceptions.dll
Syntax
public class InvalidOperationException : ApplicationException, ISerializable, _Exception
Constructors
InvalidOperationException(String)
Declaration
public InvalidOperationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception