46 public UndoException(
string message,
string typeName,
string parentTypeName,
int currentEditLevel,
int expectedEditLevel)
66#if !NETFX_CORE && !IOS && !ANDROID
72 protected UndoException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
83 public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
86 base.GetObjectData(info, context);
Exception indicating a problem with the use of the n-level undo feature in CSLA .NET.
string ParentTypeName
The parent's type name of the object that caused this issue or null
override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Serializes the object.
int CurrentEditLevel
Object EditLevel
UndoException(string message, string typeName, string parentTypeName, int currentEditLevel, int expectedEditLevel)
Creates an instance of the type.
string TypeName
The type name of the object that caused this issue
int ExpectedEditLevel
Expected object EditLevel
UndoException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Creates an instance of the object for serialization.
UndoException(string message, Exception ex)
Creates an instance of the type.
@ Serializable
Prevents updating or inserting until the transaction is complete.