แก้ไข

แชร์ผ่าน


PersistenceProvider.BeginDelete Method

Definition

When implemented in a derived class, represents the beginning of the Delete phase. The Delete phase occurs when service state data is permanently deleted from the persistence store.

public:
 abstract IAsyncResult ^ BeginDelete(System::Object ^ instance, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public abstract IAsyncResult BeginDelete (object instance, TimeSpan timeout, AsyncCallback callback, object state);
abstract member BeginDelete : obj * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public MustOverride Function BeginDelete (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 BeginDelete(Object, TimeSpan, AsyncCallback, Object) asynchronous method call.

Applies to