Επεξεργασία

Κοινή χρήση μέσω


ExclusiveHandle.RegisterBookmarkScope Method

Definition

Adds the specified bookmark scope handle to the ReadOnlyCollection<T> of BookmarkScopeHandle objects using the specified context.

public:
 void RegisterBookmarkScope(System::Activities::NativeActivityContext ^ context, System::Activities::BookmarkScopeHandle ^ bookmarkScopeHandle);
public void RegisterBookmarkScope (System.Activities.NativeActivityContext context, System.Activities.BookmarkScopeHandle bookmarkScopeHandle);
member this.RegisterBookmarkScope : System.Activities.NativeActivityContext * System.Activities.BookmarkScopeHandle -> unit
Public Sub RegisterBookmarkScope (context As NativeActivityContext, bookmarkScopeHandle As BookmarkScopeHandle)

Parameters

context
NativeActivityContext

The environment in which the handle is created.

bookmarkScopeHandle
BookmarkScopeHandle

The token used to identify and access a group of bookmarks that operate under the same protocol in a workflow activity operation.

Remarks

If this method is called after a bookmark has been created under this exclusive scope, a InvalidOperationException will be thrown.

Applies to