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