Export (0) Print
Expand All

WorkflowApplication.BeginPersist Method

Persists a workflow instance to an instance store asynchronously using the IAsyncResult asynchronous design pattern.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method BeginPersist(AsyncCallback, Object) Persists a workflow instance to an instance store asynchronously using the specified callback method and user-provided state.
Public method BeginPersist(TimeSpan, AsyncCallback, Object) Persists a workflow instance to an instance store asynchronously using the specified time-out interval, callback method, and user-provided state.
Top

For more information, seeAsynchronous Programming Overview.

If the workflow instance was previously loaded from persistence, then the same InstanceStore used to load the workflow is used for persistence. If the workflow was created and has not yet been persisted, then an InstanceStore must be configured before calling this method or else an InvalidOperationException is thrown when this method is called.

Community Additions

ADD
Show:
© 2014 Microsoft