Sdílet prostřednictvím


PersistenceIOParticipant.BeginOnSave Metoda

Definice

Zahájí asynchronní operaci uložení dalšího stavu ve spojení s instancí uloženou v úložišti instancí.

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

Parametry

readWriteValues
IDictionary<XName,Object>

Slovník hodnot pro čtení i zápis, které jsou shromážděny ve fázích CollectValues a MapValues.

writeOnlyValues
IDictionary<XName,Object>

Slovník hodnot pouze pro zápis shromažďovaných ve fázích CollectValues a MapValues.

timeout
TimeSpan

Časový rozsah, ve kterém má být operace dokončena bez časového limitu.

callback
AsyncCallback

Asynchronní delegát zpětného volání, který obdrží oznámení o dokončení asynchronní operace.

state
Object

Informace o stavu přidružené k asynchronní operaci.

Návraty

IAsyncResult

Stav asynchronní operace.

Platí pro