42 references to BookmarkOptions
System.Activities (40)
System\Activities\ActivityInstance.cs (2)
567internal void AddBookmark(Bookmark bookmark, BookmarkOptions options) 581internal void RemoveBookmark(Bookmark bookmark, BookmarkOptions options)
System\Activities\BookmarkOptionsHelper.cs (12)
12static bool IsDefined(BookmarkOptions options) 14return options == BookmarkOptions.None || ((options & (BookmarkOptions.MultipleResume | BookmarkOptions.NonBlocking)) == options); 17public static void Validate(BookmarkOptions options, string argumentName) 22new InvalidEnumArgumentException(argumentName, (int)options, typeof(BookmarkOptions))); 26public static bool SupportsMultipleResumes(BookmarkOptions options) 28return (options & BookmarkOptions.MultipleResume) == BookmarkOptions.MultipleResume; 31public static bool IsNonBlocking(BookmarkOptions options) 33return (options & BookmarkOptions.NonBlocking) == BookmarkOptions.NonBlocking;
System\Activities\DynamicUpdate\NativeActivityUpdateContext.cs (6)
249return this.CreateBookmark(name, callback, BookmarkOptions.None); 252public Bookmark CreateBookmark(string name, BookmarkCallback callback, BookmarkOptions options) 260return this.CreateBookmark(name, callback, scope, BookmarkOptions.None); 263public Bookmark CreateBookmark(string name, BookmarkCallback callback, BookmarkScope scope, BookmarkOptions options) 276return this.CreateBookmark(callback, BookmarkOptions.None); 279public Bookmark CreateBookmark(BookmarkCallback callback, BookmarkOptions options)
System\Activities\NativeActivityContext.cs (7)
271return this.bookmarkManager.CreateBookmark(name, null, this.CurrentInstance, BookmarkOptions.None); 276return CreateBookmark(name, callback, BookmarkOptions.None); 279public Bookmark CreateBookmark(string name, BookmarkCallback callback, BookmarkOptions options) 305return CreateBookmark(name, callback, scope, BookmarkOptions.None); 308public Bookmark CreateBookmark(string name, BookmarkCallback callback, BookmarkScope scope, BookmarkOptions options) 342return CreateBookmark(callback, BookmarkOptions.None); 345public Bookmark CreateBookmark(BookmarkCallback callback, BookmarkOptions options)
System\Activities\Runtime\ActivityExecutor.cs (1)
1281Bookmark bookmark = this.bookmarkManager.CreateBookmark(callback, callbackOwner, BookmarkOptions.None);
System\Activities\Runtime\BookmarkCallbackWrapper.cs (6)
19: this(callback, owningInstance, BookmarkOptions.None) 23public BookmarkCallbackWrapper(BookmarkCallback callback, ActivityInstance owningInstance, BookmarkOptions bookmarkOptions) 26Fx.Assert(callback != null || bookmarkOptions == BookmarkOptions.None, "Either we have a callback or we only allow SingleFire, Blocking bookmarks."); 31BookmarkOptions options; 32public BookmarkOptions Options 52internal BookmarkOptions SerializedOptions
System\Activities\Runtime\BookmarkManager.cs (3)
73public Bookmark CreateBookmark(string name, BookmarkCallback callback, ActivityInstance owningInstance, BookmarkOptions options) 89public Bookmark CreateBookmark(BookmarkCallback callback, ActivityInstance owningInstance, BookmarkOptions options) 158void AddBookmark(Bookmark bookmark, BookmarkCallback callback, ActivityInstance owningInstance, BookmarkOptions options)
System\Activities\Runtime\BookmarkScopeManager.cs (1)
122public Bookmark CreateBookmark(string name, BookmarkScope scope, BookmarkCallback callback, ActivityInstance owningInstance, BookmarkOptions options)
System\Activities\Statements\InternalState.cs (1)
855Bookmark bookmark = context.CreateBookmark(this.evaluateConditionCallback, BookmarkOptions.MultipleResume);
System\Activities\Statements\WorkflowCompensationBehavior.cs (1)
71Bookmark mainRootCompleteBookmark = context.CreateBookmark(OnMainRootComplete, BookmarkOptions.NonBlocking);
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\InternalSendMessage.cs (1)
1252Bookmark completeCorrelationBookmark = context.CreateBookmark(CompleteCorrelationCallback, BookmarkOptions.NonBlocking);
System.Workflow.Runtime (1)
System\Activities\Statements\InteropEnvironment.cs (1)
261this.bookmarkCallback, BookmarkOptions.MultipleResume);