PersistenceProvider.EndLoadIfChanged(IAsyncResult, Object) Method

Definition

When implemented in a derived class, represents the end of the LoadIfChanged phase. The LoadIfChanged phase occurs when state data is loaded into the persistence provider from the persistence store, and the state data in the persistence store has been changed.

C#
public virtual bool EndLoadIfChanged(IAsyncResult result, out object instance);

Parameters

result
IAsyncResult

A reference to the result of the operation.

instance
Object

The actual instance state.

Returns

true if the instance out parameter has been set with the latest copy from the persistence store; false if the locally cached state is already up-to-date.

Applies to

Продукт Версії
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1