InstancePersistenceContext.CompletedInstance 方法
定义
指示永久性提供程序已经成功将实例存储中的当前实例标记为完成。Indicates that the persistence provider has successfully marked the current instance as complete in the instance store.
public:
void CompletedInstance();
public void CompletedInstance ();
member this.CompletedInstance : unit -> unit
Public Sub CompletedInstance ()
注解
当前实例句柄必须绑定到某个实例以及该实例上的锁。The current instance handle must be bound to an instance as well as a lock on that instance. 必须已初始化但未完成实例。The instance must be initialized and not be already completed. 如果已将一组实例数据保存到实例 ) 中, (初始化实例。必须完成所有与实例关联的键。(An instance is initialized if a set of instance data has ever been persisted to it.) All of the keys associated to the instance must be completed.