PersistenceProvider.BeginUpdate 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, represents the beginning of the Update phase. The Update phase occurs when service state data is updated in the persistence store.
public:
abstract IAsyncResult ^ BeginUpdate(System::Object ^ instance, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public abstract IAsyncResult BeginUpdate (object instance, TimeSpan timeout, AsyncCallback callback, object state);
abstract member BeginUpdate : obj * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public MustOverride Function BeginUpdate (instance As Object, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- instance
- Object
The actual instance state.
- timeout
- TimeSpan
The time period after which the persistence provider aborts this attempt.
- callback
- AsyncCallback
The method to be called when the operation is completed.
- state
- Object
A user-provided object that distinguishes this particular asynchronous operation from other operations.
Returns
The state of the BeginUpdate(Object, TimeSpan, AsyncCallback, Object) asynchronous method call.