Edit

Share via


PersistenceIOParticipant.BeginOnLoad Method

Definition

Begins an asynchronous operation to load additional state in conjunction with an instance being loaded from the instance store.

protected:
 virtual IAsyncResult ^ BeginOnLoad(System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Object ^> ^ readWriteValues, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected virtual IAsyncResult BeginOnLoad (System.Collections.Generic.IDictionary<System.Xml.Linq.XName,object> readWriteValues, TimeSpan timeout, AsyncCallback callback, object state);
abstract member BeginOnLoad : System.Collections.Generic.IDictionary<System.Xml.Linq.XName, obj> * TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.BeginOnLoad : System.Collections.Generic.IDictionary<System.Xml.Linq.XName, obj> * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function BeginOnLoad (readWriteValues As IDictionary(Of XName, Object), timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

readWriteValues
IDictionary<XName,Object>

A dictionary of read-write values loaded by the persistence provider. This corresponds to the set of read-write values passed to BeginOnSave in the most recent persistence episode for this instance.

timeout
TimeSpan

The time span within which the operation should be completed without timing out.

callback
AsyncCallback

The asynchronous callback delegate that receives notification of the completion of the asynchronous Load operation.

state
Object

The state information associated with the asynchronous operation.

Returns

The status of an asynchronous operation.

Applies to