Editar

Compartilhar via


InstancePersistenceContext.BindInstance(Guid) Method

Definition

Binds an instance whose identifier is specified as a parameter to the current instance handle.

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

Parameters

instanceId
Guid

An instance identifier. Must not be Guid.Empty.

Remarks

Once an instance is bound to a handle, it remains bound for the lifetime of the handle. No other instance can ever be bound to the handle.

Applies to