public void CreateBookmarkScope(NativeActivityContext context, Guid scopeId) { this.ThrowIfContextIsNullOrDisposed(context); if (this.bookmarkScope != null) { throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.SR.CreateBookmarkScopeFailed)); } base.ThrowIfUninitialized(); this.bookmarkScope = context.CreateBookmarkScope(scopeId, this); }
internal BookmarkScopeHandle(System.Activities.BookmarkScope bookmarkScope) { this.bookmarkScope = bookmarkScope; }