PersistenceIOParticipant.BeginOnSave Metodo

Definizione

Avvia un'operazione asincrona per salvare lo stato aggiuntivo insieme a un'istanza persistente nell'archivio di istanze.

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

Parametri

readWriteValues
IDictionary<XName,Object>

Dizionario di valori di lettura/scrittura raccolti nelle fasi CollectValues e MapValues.

writeOnlyValues
IDictionary<XName,Object>

Dizionario di valori di sola scrittura raccolti nelle fasi CollectValues e MapValues.

timeout
TimeSpan

Intervallo di tempo entro il quale l'operazione deve essere completata senza timeout.

callback
AsyncCallback

Delegato di callback asincrono che riceve la notifica del completamento dell'operazione asincrona.

state
Object

Informazioni sullo stato associate all'operazione asincrona.

Valori restituiti

Stato di un'operazione asincrona.

Si applica a