Export (0) Print
Expand All

NativeActivityContext.CreateBookmark Method (String, BookmarkCallback)

Creates the point at which a NativeActivity can passively wait to be resumed, with the specified name and with the specified method to execute when notification of the resume operation completes.

Namespace:  System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public Bookmark CreateBookmark(
	string name,
	BookmarkCallback callback


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.

Return Value

Type: System.Activities.Bookmark
A bookmark that includes the name of the bookmark and the callback method.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft