PersistenceProvider.BeginUpdate Method

Definition

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.

C#
public abstract IAsyncResult BeginUpdate(object instance, TimeSpan timeout, AsyncCallback callback, object state);

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.

Applies to

Продукт Версії
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1