PersistenceIOParticipant.BeginOnSave 方法

定義

開始非同步作業以儲存其他狀態,以及要保存至執行個體存放區的執行個體。

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

參數

readWriteValues
IDictionary<XName,Object>

在 CollectValues 和 MapValues 階段收集到之讀寫值的字典。

writeOnlyValues
IDictionary<XName,Object>

在 CollectValues 和 MapValues 階段收集到之唯寫值的字典。

timeout
TimeSpan

時間範圍,作業應在這段時間範圍內完成而不逾時。

callback
AsyncCallback

非同步回呼委派,此委派會接收到非同步作業完成的通知。

state
Object

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

傳回

非同步作業的狀態。

適用於