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);
 }
Beispiel #2
0
 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;
 }
Beispiel #4
0
 internal BookmarkScopeHandle(System.Activities.BookmarkScope bookmarkScope)
 {
     this.bookmarkScope = bookmarkScope;
 }