NativeActivityContext.CreateBookmark Method (String, BookmarkCallback, BookmarkScope, BookmarkOptions)
Creates the point at which a NativeActivity can passively wait to be resumed with the specified name, the specified method to execute when notification of the resume operation completes, the specified scope of the bookmark, and the specified option that governs how the bookmark is used during the execution of the current NativeActivity.
Assembly: System.Activities (in System.Activities.dll)
public Bookmark CreateBookmark( string name, BookmarkCallback callback, BookmarkScope scope, BookmarkOptions options )
The name of the bookmark.
The method to be called when a notification signals resumption of the NativeActivity.
An identifier applied to a group of bookmarks that operate under the same protocol during a workflow runtime.
Return ValueType: System.Activities.Bookmark
A bookmark that includes the name of the bookmark, the callback method, the scope of the bookmark, and the bookmark execution option.
Bookmark callbacks can operate without bookmark options but bookmark options must always be paired with a callback because the options do not apply in situations where there is no callback method.
Available since 4.0