PersistenceIOParticipant.BeginOnLoad 方法

定义

开始一个异步操作,以便连同正在从实例存储中加载的实例一起加载附加状态。

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

参数

readWriteValues
IDictionary<XName,Object>

由持久性提供程序所加载的读/写值组成的字典。 这对应于在此实例最近的持久性段中传递到 BeginOnSave 的读/写值集。

timeout
TimeSpan

时间跨度,操作应在该时间跨度内完成而不超时。

callback
AsyncCallback

可接收异步加载操作完成通知的异步回调委托。

state
Object

与异步操作关联的状态信息。

返回

异步操作的状态。

适用于