Redigera

Dela via


PersistenceProvider.EndCreate(IAsyncResult) Method

Definition

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

public:
 abstract System::Object ^ EndCreate(IAsyncResult ^ result);
public abstract object EndCreate (IAsyncResult result);
abstract member EndCreate : IAsyncResult -> obj
Public MustOverride Function EndCreate (result As IAsyncResult) As Object

Parameters

result
IAsyncResult

A reference to the result of the operation.

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