Class SessionMixingException
- Namespace
- DevExpress.Xpo.Exceptions
- Assembly
- DevExpress.Xpo.v24.1.dll
An exception that is thrown when a persistent object that belongs to a specific session is used within another session or refers to an object from another session.
public class SessionMixingException : Exception, ISerializable
- Inheritance
-
SessionMixingException
- Implements
- Inherited Members
Constructors
SessionMixingException(Session, object)
Initializes a new instance of the SessionMixingException class.
public SessionMixingException(Session session, object obj)
Parameters
Properties
Object
Gets the persistent object which conflicts with the current session.
public object Object { get; }
Property Value
- object
The persistent object which conflicts with the current session.
Session
Gets the current Session object.
public Session Session { get; }