NativeActivityContext.CreateBookmark Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a point at which a NativeActivity can passively wait to be resumed.
Overloads
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) |
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) |
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) |
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) |
Creates the point, with the specified name, at which a NativeActivity can passively wait to be resumed. |
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() |
Creates a point at which a NativeActivity can passively wait to be resumed. |
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)
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
The name of the bookmark.
- callback
- BookmarkCallback
The method to be called when a notification signals resumption of the NativeActivity.
- scope
- BookmarkScope
An identifier applied to a group of bookmarks that operate under the same protocol during a workflow runtime.
- options
- 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.
Applies to
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
The name of the bookmark.
- callback
- BookmarkCallback
The method to be called when a notification signals resumption of the NativeActivity.
- scope
- 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.
Applies to
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
The name of the bookmark.
- callback
- BookmarkCallback
The method to be called when a notification signals resumption of the NativeActivity.
- options
- 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.
Applies to
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
The name of the bookmark.
- callback
- 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.
Applies to
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
The name of the bookmark.
Returns
A bookmark that includes the name of the bookmark.
Applies to
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
The method to be called when a notification signals resumption of the NativeActivity.
Returns
The callback method.
Applies to
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
A bookmark.
Applies to
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
The method to be called when a notification signals resumption of the NativeActivity.
- options
- 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.