PersistenceProvider::EndCreate Method (IAsyncResult^)
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.
Assembly: System.WorkflowServices (in System.WorkflowServices.dll)
Parameters
- result
-
Type:
System::IAsyncResult^
A reference to the result of the operation.
Return Value
Type: System::Object^The instance token corresponding to the state just saved. This can be passed to LoadIfChanged to determine whether the state in the persistence store differs from the state when Create was called.
The following code demonstrates how to implement the EndCreate method.
public override object EndCreate(IAsyncResult result) { base.ThrowIfDisposedOrNotOpen(); this.factory.EndCreate(result); return null; }
Available since 3.5