語言

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

與非同步操作相關的狀態資訊。

傳回

非同步操作的狀態。

適用於