PersistenceProvider.Update(Object, TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a derived class, updates service state records in the persistence store.
public:
abstract System::Object ^ Update(System::Object ^ instance, TimeSpan timeout);
public abstract object Update (object instance, TimeSpan timeout);
abstract member Update : obj * TimeSpan -> obj
Public MustOverride Function Update (instance As Object, timeout As TimeSpan) As Object
Parameters
- instance
- Object
The actual instance state.
- timeout
- TimeSpan
The time period after which the persistence provider aborts this attempt.
Returns
The instance token corresponding to the state just saved. This can be passed to LoadIfChanged(TimeSpan, Object, Object) to determine whether the state in the persistence store differs from the state when Create was called.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για