Bagikan melalui


ExclusiveHandle.RegisterBookmarkScope Metode

Definisi

Menambahkan handel cakupan bookmark yang ditentukan ke ReadOnlyCollection<T> objek BookmarkScopeHandle menggunakan konteks yang ditentukan.

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)

Parameter

context
NativeActivityContext

Lingkungan tempat handel dibuat.

bookmarkScopeHandle
BookmarkScopeHandle

Token yang digunakan untuk mengidentifikasi dan mengakses sekelompok marka buku yang beroperasi di bawah protokol yang sama dalam operasi aktivitas alur kerja.

Keterangan

Jika metode ini dipanggil setelah marka buku dibuat di bawah cakupan eksklusif ini, InvalidOperationException akan dilemparkan.

Berlaku untuk