The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
PersistenceProvider::EndUpdate Method (IAsyncResult^)
.NET Framework (current version)
Represents the end of the Update phase. The Update phase occurs when service state records are updated 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 EndUpdate method.
public override object EndUpdate(IAsyncResult result) { base.ThrowIfDisposedOrNotOpen(); this.factory.EndUpdate(result); return null; }
.NET Framework
Available since 3.5
Available since 3.5
Show: