Modifier

Partager via


PersistenceIOParticipant.BeginOnSave Method

Definition

Begins an asynchronous operation to save additional state in conjunction with an instance being persisted to the instance store.

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

Parameters

readWriteValues
IDictionary<XName,Object>

A dictionary of read-write values collected in the CollectValues and MapValues stages.

writeOnlyValues
IDictionary<XName,Object>

A dictionary of write-only values collected in the CollectValues and MapValues stages.

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 operation.

state
Object

The state information associated with the asynchronous operation.

Returns

The status of an asynchronous operation.

Applies to