Modifier

Partager via


LockingPersistenceProvider.Update Method

Definition

Updates the instance state information in the persistence store.

Overloads

Update(Object, TimeSpan)

When implemented in a derived class, updates the instance state information in the persistence store. This method does not unlock the instance after updating the instance state information in the persistence store.

Update(Object, TimeSpan, Boolean)

When implemented in a derived class, updates the instance state information in the persistence store. This method does not unlock the instance after updating the instance state information in the persistence store.

Update(Object, TimeSpan)

When implemented in a derived class, updates the instance state information in the persistence store. This method does not unlock the instance after updating the instance state information in the persistence store.

public:
 override System::Object ^ Update(System::Object ^ instance, TimeSpan timeout);
public override object Update (object instance, TimeSpan timeout);
override this.Update : obj * TimeSpan -> obj
Public Overrides Function Update (instance As Object, timeout As TimeSpan) As Object

Parameters

instance
Object

The instance state information.

timeout
TimeSpan

The time period after which the persistence provider aborts the operation.

Returns

The instance state information.

Applies to

Update(Object, TimeSpan, Boolean)

When implemented in a derived class, updates the instance state information in the persistence store. This method does not unlock the instance after updating the instance state information in the persistence store.

public:
 abstract System::Object ^ Update(System::Object ^ instance, TimeSpan timeout, bool unlockInstance);
public abstract object Update (object instance, TimeSpan timeout, bool unlockInstance);
override this.Update : obj * TimeSpan * bool -> obj
Public MustOverride Function Update (instance As Object, timeout As TimeSpan, unlockInstance As Boolean) As Object

Parameters

instance
Object

The instance state information.

timeout
TimeSpan

The time period after which the persistence provider aborts the operation.

unlockInstance
Boolean

true if the instance is unlocked after the instance state information is updated; otherwise false.

Returns

The instance state information.

Applies to