Adds an object to be traced as "persisted" by this class. Persistent objects that are not
saved, but their node has been visited are added by using this method.
Classes implementing the
ICustomPersister interface should only add objects
if they save them directly to the storage without using the
ObjectContext.
See the
ICustomPersister interface for more information.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Sub MarkPersisted( _
ByVal obj As Object, _
ByVal depth As PersistDepths _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As PersistingTrace
Dim obj As Object
Dim depth As PersistDepths
instance.MarkPersisted(obj, depth)
|
Parameters
- obj
- The object that is added to be traced by this instance of the PersistingTrace class.
- depth
- The depth of the current persist.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also