Edit

Share via


InstancePersistenceContext.UnassociatedInstanceKey(Guid) Method

Definition

Indicates that the persistence provider has successfully disassociated a key from the current instance in the instance store. The identifier of the key is specified as a parameter.

public:
 void UnassociatedInstanceKey(Guid key);
public void UnassociatedInstanceKey (Guid key);
member this.UnassociatedInstanceKey : Guid -> unit
Public Sub UnassociatedInstanceKey (key As Guid)

Parameters

key
Guid

The instance key identifier for the key that has been unassociated. Must not be Guid.Empty.

Remarks

The current instance handle must be bound to an instance as well as a lock on that instance. The instance key must be associated to the current instance and must be marked complete. The current instance must not be marked complete.

Applies to