NativeActivityContext.CreateBookmark Method (String, BookmarkCallback)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

name
Type: System.String

The name of the bookmark.

callback
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
Available since 4.0
Return to top
Show: