WorkflowInstanceProxy.BeginResumeBookmark Method

Definition

Resumes a bookmark asynchronously.

Overloads

BeginResumeBookmark(Bookmark, Object, AsyncCallback, Object)

Resumes a workflow from a bookmark asynchronously using the specified bookmark, value, callback method, and user-provided state data.

BeginResumeBookmark(Bookmark, Object, TimeSpan, AsyncCallback, Object)

Resumes a workflow from a bookmark asynchronously using the specified bookmark, value, time-out interval, callback method, and user-provided state.

BeginResumeBookmark(Bookmark, Object, AsyncCallback, Object)

Resumes a workflow from a bookmark asynchronously using the specified bookmark, value, callback method, and user-provided state data.

public:
 IAsyncResult ^ BeginResumeBookmark(System::Activities::Bookmark ^ bookmark, System::Object ^ value, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginResumeBookmark (System.Activities.Bookmark bookmark, object value, AsyncCallback callback, object state);
member this.BeginResumeBookmark : System.Activities.Bookmark * obj * AsyncCallback * obj -> IAsyncResult
Public Function BeginResumeBookmark (bookmark As Bookmark, value As Object, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

bookmark
Bookmark

The bookmark.

value
Object

The data to be passed to the activity that created the bookmark.

callback
AsyncCallback

The method to be called when the asynchronous resume operation has completed.

state
Object

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

Returns

A reference to the asynchronous operation.

Remarks

To determine if the resume operation was successful, call EndResumeBookmark. EndResumeBookmark can be called from inside or outside of the callback method. If EndResumeBookmark is called before the resume operation completes, it blocks until the resume operation completes.

Applies to

BeginResumeBookmark(Bookmark, Object, TimeSpan, AsyncCallback, Object)

Resumes a workflow from a bookmark asynchronously using the specified bookmark, value, time-out interval, callback method, and user-provided state.

public:
 IAsyncResult ^ BeginResumeBookmark(System::Activities::Bookmark ^ bookmark, System::Object ^ value, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginResumeBookmark (System.Activities.Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state);
member this.BeginResumeBookmark : System.Activities.Bookmark * obj * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginResumeBookmark (bookmark As Bookmark, value As Object, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

bookmark
Bookmark

The bookmark.

value
Object

The data to be passed to the activity that created the bookmark.

timeout
TimeSpan

The interval in which the resume operation must complete before the operation is canceled and a TimeoutException is thrown.

callback
AsyncCallback

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

state
Object

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

Returns

A reference to the asynchronous operation.

Remarks

To determine if the resume operation was successful, call EndResumeBookmark. EndResumeBookmark can be called from inside or outside of the callback method. If EndResumeBookmark is called before the resume operation completes, it blocks until the resume operation completes. By default, the resume operation must complete in 30 seconds or a TimeoutException is thrown from EndResumeBookmark.

Applies to