Skip to main content
.NET 8.0+

XPWeakReference Constructors

A persistent weak reference to a persistent object.
Name Parameters Description
XPWeakReference() none Initializes a new instance of the XPWeakReference class with the default settings.
XPWeakReference(IXPSimpleObject) target Initializes a new instance of the XPWeakReference class with the specified targeted object.
XPWeakReference(Session, Object) session, target Initializes a new instance of the XPWeakReference class with the specified session and targeted object.
XPWeakReference(Session) session Initializes a new instance of the XPWeakReference class with the specified session.
See Also