语言

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

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

返回

异步操作的状态。

适用于