PersistenceProvider.BeginCreate Method

Definition

When implemented in a derived class, represents the beginning of the Create phase. The Create phase occurs when service instance records are first created in the persistence store.

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

Applies to