CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
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 type.
 UndoException (string message, Exception ex)
 Creates an instance of the type.

Properties

string TypeName = "" [get]
 The type name of the object that caused this issue.
string? ParentTypeName [get]
 The parent's type name of the object that caused this issue or null.
int CurrentEditLevel [get]
 Object EditLevel.
int ExpectedEditLevel [get]
 Expected object EditLevel.

Detailed Description

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

Constructor & Destructor Documentation

◆ UndoException() [1/2]

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

Creates an instance of the type.

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
Exceptions
ArgumentNullExceptionmessage or typeName is null.

◆ UndoException() [2/2]

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

Creates an instance of the type.

Parameters
messageText describing the exception.
exInner exception.
Exceptions
ArgumentNullExceptionmessage or ex is null.

Property Documentation

◆ CurrentEditLevel

int Csla.Core.UndoException.CurrentEditLevel
get

Object EditLevel.

◆ ExpectedEditLevel

int Csla.Core.UndoException.ExpectedEditLevel
get

Expected object EditLevel.

◆ ParentTypeName

string? Csla.Core.UndoException.ParentTypeName
get

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

◆ TypeName

string Csla.Core.UndoException.TypeName = ""
get

The type name of the object that caused this issue.


The documentation for this class was generated from the following file: