CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Core.UndoException Class Reference

Exception indicating a problem with the use of the n-level undo feature in CSLA .NET. More...

Inheritance diagram for Csla.Core.UndoException:

Public Member Functions

 UndoException (string message, string typeName, string parentTypeName, int currentEditLevel, int expectedEditLevel)
 Creates an instance of the object. More...
 
 UndoException (string message, Exception ex)
 Creates an instance of the object. More...
 
override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
 Serializes the object. More...
 

Public Attributes

string TypeName
 The type name of the object that caused this issue More...
 
string ParentTypeName
 The parent's type name of the object that caused this issue or null More...
 
int CurrentEditLevel
 Object EditLevel More...
 
int ExpectedEditLevel
 Expected object EditLevel More...
 

Protected Member Functions

 UndoException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
 Creates an instance of the object for serialization. More...
 

Detailed Description

Exception indicating a problem with the use of the n-level undo feature in CSLA .NET.

Definition at line 19 of file UndoException.cs.

Constructor & Destructor Documentation

◆ UndoException() [1/3]

Csla.Core.UndoException.UndoException ( string  message,
string  typeName,
string  parentTypeName,
int  currentEditLevel,
int  expectedEditLevel 
)

Creates an instance of the object.

Parameters
messageText describing the exception.
typeNameThe type name of the object that caused this issue
parentTypeNameThe parent's type name of the object that caused this issue or null
currentEditLevelObject EditLevel
expectedEditLevelExpected object EditLevel

Definition at line 46 of file UndoException.cs.

◆ UndoException() [2/3]

Csla.Core.UndoException.UndoException ( string  message,
Exception  ex 
)

Creates an instance of the object.

Parameters
messageText describing the exception.
exInner exception.

Definition at line 60 of file UndoException.cs.

◆ UndoException() [3/3]

Csla.Core.UndoException.UndoException ( System.Runtime.Serialization.SerializationInfo  info,
System.Runtime.Serialization.StreamingContext  context 
)
protected

Creates an instance of the object for serialization.

Parameters
infoSerialiation info object.
contextSerialization context object.

Definition at line 72 of file UndoException.cs.

Member Function Documentation

◆ GetObjectData()

override void Csla.Core.UndoException.GetObjectData ( System.Runtime.Serialization.SerializationInfo  info,
System.Runtime.Serialization.StreamingContext  context 
)

Serializes the object.

Parameters
infoSerialiation info object.
contextSerialization context object.

Definition at line 83 of file UndoException.cs.

Member Data Documentation

◆ CurrentEditLevel

int Csla.Core.UndoException.CurrentEditLevel

Object EditLevel

Definition at line 32 of file UndoException.cs.

◆ ExpectedEditLevel

int Csla.Core.UndoException.ExpectedEditLevel

Expected object EditLevel

Definition at line 36 of file UndoException.cs.

◆ ParentTypeName

string Csla.Core.UndoException.ParentTypeName

The parent's type name of the object that caused this issue or null

Definition at line 28 of file UndoException.cs.

◆ TypeName

string Csla.Core.UndoException.TypeName

The type name of the object that caused this issue

Definition at line 24 of file UndoException.cs.