PersistenceIOParticipant.BeginOnSave Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Commence une opération asynchrone pour enregistrer un état supplémentaire conjointement avec une instance persistante dans le magasin d’instances.
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
Paramètres
- readWriteValues
- IDictionary<XName,Object>
Dictionnaire de valeurs en lecture-écriture collectées aux étapes CollectValues et MapValues.
- writeOnlyValues
- IDictionary<XName,Object>
Dictionnaire de valeurs en écriture seule collectées dans les phases CollectValues et MapValues.
- timeout
- TimeSpan
Intervalle de temps dans lequel l’opération doit être terminée sans délai d’attente.
- callback
- AsyncCallback
Délégué de rappel asynchrone qui reçoit la notification de l’achèvement de l’opération asynchrone.
- state
- Object
Informations d’état associées à l’opération asynchrone.
Retours
État d’une opération asynchrone.