LockingPersistenceProvider.Load Method

Definition

Loads instance state information from the instance store.

Overloads

Load(TimeSpan)

Loads service state information from the persistence store without locking the instance.

Load(TimeSpan, Boolean)

Loads state information from the persistence store after locking the instance.

Load(TimeSpan)

Loads service state information from the persistence store without locking the instance.

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

Parameters

timeout
TimeSpan

The time period after which the persistence provider aborts this attempt.

Returns

The service state information.

Remarks

This method invokes the Load method with lockInstance parameter set to false.

Applies to

Load(TimeSpan, Boolean)

Loads state information from the persistence store after locking the instance.

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

Parameters

timeout
TimeSpan

The period after which the persistence provider aborts this operation.

lockInstance
Boolean

true if the instance should be locked; otherwise false.

Returns

The state information.

Applies to