Språk

ExclusiveHandle.RegisterBookmarkScope Metod

Definition

Lägger till det angivna omfångshandtaget för bokmärken till objekten ReadOnlyCollection<T> med hjälp av BookmarkScopeHandle den angivna kontexten.

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)

Parametrar

context
NativeActivityContext

Miljön där handtaget skapas.

bookmarkScopeHandle
BookmarkScopeHandle

Den token som används för att identifiera och komma åt en grupp bokmärken som körs under samma protokoll i en arbetsflödesaktivitetsåtgärd.

Kommentarer

Om den här metoden anropas efter att ett bokmärke har skapats under det här exklusiva omfånget genereras en InvalidOperationException .

Gäller för