Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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