WorkflowInstance.OnBeginPersist(AsyncCallback, Object) Method

Definition

Asynchronous call to ask the host to persist the workflow.

protected public:
 abstract IAsyncResult ^ OnBeginPersist(AsyncCallback ^ callback, System::Object ^ state);
protected internal abstract IAsyncResult OnBeginPersist (AsyncCallback callback, object state);
abstract member OnBeginPersist : AsyncCallback * obj -> IAsyncResult
Protected Friend MustOverride Function OnBeginPersist (callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

callback
AsyncCallback

The method to be called when the persist operation has completed.

state
Object

An optional application-specific object that contains information about the asynchronous operation.

Returns

A reference to the current persist operation.

Applies to