NativeActivityContext.CreateBookmark Method (String, BookmarkCallback, BookmarkScope)
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, and the specified scope of the bookmark.
Assembly: System.Activities (in System.Activities.dll)
public Bookmark CreateBookmark( string name, BookmarkCallback callback, BookmarkScope scope )
- Type: System.String
The name of the bookmark.
- Type: System.Activities.BookmarkCallback
The method to be called when a notification signals resumption of the NativeActivity.
- Type: System.Activities.BookmarkScope
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, and the scope of the bookmark.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.