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.

public:
 virtual bool EndLoadIfChanged(IAsyncResult ^ result, [Runtime::InteropServices::Out] System::Object ^ % instance);
public virtual bool EndLoadIfChanged (IAsyncResult result, out object instance);
abstract member EndLoadIfChanged : IAsyncResult * obj -> bool
override this.EndLoadIfChanged : IAsyncResult * obj -> bool
Public Overridable Function EndLoadIfChanged (result As IAsyncResult, ByRef instance As Object) As Boolean

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