NativeActivityContext.CreateBookmark NativeActivityContext.CreateBookmark NativeActivityContext.CreateBookmark NativeActivityContext.CreateBookmark Method

Definition

Creates a point at which a NativeActivity can passively wait to be resumed.

Overloads

CreateBookmark(String, BookmarkCallback, BookmarkScope, BookmarkOptions) CreateBookmark(String, BookmarkCallback, BookmarkScope, BookmarkOptions) CreateBookmark(String, BookmarkCallback, BookmarkScope, BookmarkOptions) CreateBookmark(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.

CreateBookmark(String, BookmarkCallback, BookmarkScope) CreateBookmark(String, BookmarkCallback, BookmarkScope) CreateBookmark(String, BookmarkCallback, BookmarkScope) CreateBookmark(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.

CreateBookmark(String, BookmarkCallback, BookmarkOptions) CreateBookmark(String, BookmarkCallback, BookmarkOptions) CreateBookmark(String, BookmarkCallback, BookmarkOptions) CreateBookmark(String, BookmarkCallback, 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, and the specified option that governs how the bookmark is used during the execution of the current NativeActivity.

CreateBookmark(String, BookmarkCallback) CreateBookmark(String, BookmarkCallback) CreateBookmark(String, BookmarkCallback) CreateBookmark(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.

CreateBookmark(String) CreateBookmark(String) CreateBookmark(String) CreateBookmark(String)

Creates the point, with the specified name, at which a NativeActivity can passively wait to be resumed.

CreateBookmark(BookmarkCallback) CreateBookmark(BookmarkCallback) CreateBookmark(BookmarkCallback) CreateBookmark(BookmarkCallback)

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

CreateBookmark() CreateBookmark() CreateBookmark() CreateBookmark()

Creates a point at which a NativeActivity can passively wait to be resumed.

CreateBookmark(BookmarkCallback, BookmarkOptions) CreateBookmark(BookmarkCallback, BookmarkOptions) CreateBookmark(BookmarkCallback, BookmarkOptions) CreateBookmark(BookmarkCallback, BookmarkOptions)

Creates the point at which a NativeActivity can passively wait to be resumed, with the specified method to execute when notification of the resume operation completes and with the specified option that governs how the bookmark is used during the execution of the current NativeActivity.

CreateBookmark(String, BookmarkCallback, BookmarkScope, BookmarkOptions) CreateBookmark(String, BookmarkCallback, BookmarkScope, BookmarkOptions) CreateBookmark(String, BookmarkCallback, BookmarkScope, BookmarkOptions) CreateBookmark(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.

public:
 System::Activities::Bookmark ^ CreateBookmark(System::String ^ name, System::Activities::BookmarkCallback ^ callback, System::Activities::BookmarkScope ^ scope, System::Activities::BookmarkOptions options);
public System.Activities.Bookmark CreateBookmark (string name, System.Activities.BookmarkCallback callback, System.Activities.BookmarkScope scope, System.Activities.BookmarkOptions options);
member this.CreateBookmark : string * System.Activities.BookmarkCallback * System.Activities.BookmarkScope * System.Activities.BookmarkOptions -> System.Activities.Bookmark
Public Function CreateBookmark (name As String, callback As BookmarkCallback, scope As BookmarkScope, options As BookmarkOptions) As Bookmark

Parameters

name
String String String String

The name of the bookmark.

callback
BookmarkCallback BookmarkCallback BookmarkCallback BookmarkCallback

The method to be called when a notification signals resumption of the NativeActivity.

scope
BookmarkScope BookmarkScope BookmarkScope BookmarkScope

An identifier applied to a group of bookmarks that operate under the same protocol during a workflow runtime.

options
BookmarkOptions BookmarkOptions BookmarkOptions BookmarkOptions

The bookmark options that governs how the bookmark is used during the execution of the current NativeActivity.

Returns

A bookmark that includes the name of the bookmark, the callback method, the scope of the bookmark, and the bookmark execution option.

Remarks

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.

CreateBookmark(String, BookmarkCallback, BookmarkScope) CreateBookmark(String, BookmarkCallback, BookmarkScope) CreateBookmark(String, BookmarkCallback, BookmarkScope) CreateBookmark(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.

public:
 System::Activities::Bookmark ^ CreateBookmark(System::String ^ name, System::Activities::BookmarkCallback ^ callback, System::Activities::BookmarkScope ^ scope);
public System.Activities.Bookmark CreateBookmark (string name, System.Activities.BookmarkCallback callback, System.Activities.BookmarkScope scope);
member this.CreateBookmark : string * System.Activities.BookmarkCallback * System.Activities.BookmarkScope -> System.Activities.Bookmark
Public Function CreateBookmark (name As String, callback As BookmarkCallback, scope As BookmarkScope) As Bookmark

Parameters

name
String String String String

The name of the bookmark.

callback
BookmarkCallback BookmarkCallback BookmarkCallback BookmarkCallback

The method to be called when a notification signals resumption of the NativeActivity.

scope
BookmarkScope BookmarkScope BookmarkScope BookmarkScope

An identifier applied to a group of bookmarks that operate under the same protocol during a workflow runtime.

Returns

A bookmark that includes the name of the bookmark, the callback method, and the scope of the bookmark.

Remarks

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.

CreateBookmark(String, BookmarkCallback, BookmarkOptions) CreateBookmark(String, BookmarkCallback, BookmarkOptions) CreateBookmark(String, BookmarkCallback, BookmarkOptions) CreateBookmark(String, BookmarkCallback, 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, and the specified option that governs how the bookmark is used during the execution of the current NativeActivity.

public:
 System::Activities::Bookmark ^ CreateBookmark(System::String ^ name, System::Activities::BookmarkCallback ^ callback, System::Activities::BookmarkOptions options);
public System.Activities.Bookmark CreateBookmark (string name, System.Activities.BookmarkCallback callback, System.Activities.BookmarkOptions options);
member this.CreateBookmark : string * System.Activities.BookmarkCallback * System.Activities.BookmarkOptions -> System.Activities.Bookmark
Public Function CreateBookmark (name As String, callback As BookmarkCallback, options As BookmarkOptions) As Bookmark

Parameters

name
String String String String

The name of the bookmark.

callback
BookmarkCallback BookmarkCallback BookmarkCallback BookmarkCallback

The method to be called when a notification signals resumption of the NativeActivity.

options
BookmarkOptions BookmarkOptions BookmarkOptions BookmarkOptions

The bookmark options that govern how the bookmark is used during the execution of the current NativeActivity.

Returns

A bookmark that includes the name of the bookmark, the callback method, and the bookmark execution option.

Remarks

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.

CreateBookmark(String, BookmarkCallback) CreateBookmark(String, BookmarkCallback) CreateBookmark(String, BookmarkCallback) CreateBookmark(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.

public:
 System::Activities::Bookmark ^ CreateBookmark(System::String ^ name, System::Activities::BookmarkCallback ^ callback);
public System.Activities.Bookmark CreateBookmark (string name, System.Activities.BookmarkCallback callback);
member this.CreateBookmark : string * System.Activities.BookmarkCallback -> System.Activities.Bookmark
Public Function CreateBookmark (name As String, callback As BookmarkCallback) As Bookmark

Parameters

name
String String String String

The name of the bookmark.

callback
BookmarkCallback BookmarkCallback BookmarkCallback BookmarkCallback

The method to be called when a notification signals resumption of the NativeActivity.

Returns

A bookmark that includes the name of the bookmark and the callback method.

CreateBookmark(String) CreateBookmark(String) CreateBookmark(String) CreateBookmark(String)

Creates the point, with the specified name, at which a NativeActivity can passively wait to be resumed.

public:
 System::Activities::Bookmark ^ CreateBookmark(System::String ^ name);
public System.Activities.Bookmark CreateBookmark (string name);
member this.CreateBookmark : string -> System.Activities.Bookmark
Public Function CreateBookmark (name As String) As Bookmark

Parameters

name
String String String String

The name of the bookmark.

Returns

A bookmark that includes the name of the bookmark.

CreateBookmark(BookmarkCallback) CreateBookmark(BookmarkCallback) CreateBookmark(BookmarkCallback) CreateBookmark(BookmarkCallback)

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

public:
 System::Activities::Bookmark ^ CreateBookmark(System::Activities::BookmarkCallback ^ callback);
public System.Activities.Bookmark CreateBookmark (System.Activities.BookmarkCallback callback);
member this.CreateBookmark : System.Activities.BookmarkCallback -> System.Activities.Bookmark
Public Function CreateBookmark (callback As BookmarkCallback) As Bookmark

Parameters

callback
BookmarkCallback BookmarkCallback BookmarkCallback BookmarkCallback

The method to be called when a notification signals resumption of the NativeActivity.

Returns

The callback method.

CreateBookmark() CreateBookmark() CreateBookmark() CreateBookmark()

Creates a point at which a NativeActivity can passively wait to be resumed.

public:
 System::Activities::Bookmark ^ CreateBookmark();
public System.Activities.Bookmark CreateBookmark ();
member this.CreateBookmark : unit -> System.Activities.Bookmark
Public Function CreateBookmark () As Bookmark

Returns

CreateBookmark(BookmarkCallback, BookmarkOptions) CreateBookmark(BookmarkCallback, BookmarkOptions) CreateBookmark(BookmarkCallback, BookmarkOptions) CreateBookmark(BookmarkCallback, BookmarkOptions)

Creates the point at which a NativeActivity can passively wait to be resumed, with the specified method to execute when notification of the resume operation completes and with the specified option that governs how the bookmark is used during the execution of the current NativeActivity.

public:
 System::Activities::Bookmark ^ CreateBookmark(System::Activities::BookmarkCallback ^ callback, System::Activities::BookmarkOptions options);
public System.Activities.Bookmark CreateBookmark (System.Activities.BookmarkCallback callback, System.Activities.BookmarkOptions options);
member this.CreateBookmark : System.Activities.BookmarkCallback * System.Activities.BookmarkOptions -> System.Activities.Bookmark
Public Function CreateBookmark (callback As BookmarkCallback, options As BookmarkOptions) As Bookmark

Parameters

callback
BookmarkCallback BookmarkCallback BookmarkCallback BookmarkCallback

The method to be called when a notification signals resumption of the NativeActivity.

options
BookmarkOptions BookmarkOptions BookmarkOptions BookmarkOptions

An enumerated setting that governs how the bookmark operates in relation to other threads during the execution of the current NativeActivity.

Returns

A bookmark that includes the callback method and the bookmark execution option.

Remarks

Bookmark options include MultipleResume, NonBlocking and None.

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.

Applies to