Class BoundaryViolationException
- Namespace
- ArcanaDevelopment.adTempus.Client
- Assembly
- ArcanaDevelopment.adTempus.Client.dll
The exception that is thrown if an ADTObject created in one DataContext is used in a different DataContext.
public class BoundaryViolationException : Exception
- Inheritance
-
objectExceptionBoundaryViolationException
Remarks
Each ADTObject belongs to the DataContext in which it was created, and cannot be used in other DataContexts. Examples of operations that will result in a BoundaryViolationException:
- Attempting to add a JobStep created in one DataContext to a Job created in another.
- Attempting to add an object created in one DataContext to a UnitOfWork that belongs to another.
Properties
SourceObject
The object that resulted in the exception.
public ADTObject SourceObject { get; }