88 references to BookmarkResumptionResult
System.Activities (73)
System\Activities\Hosting\WorkflowInstance.cs (5)
471
protected internal abstract
BookmarkResumptionResult
OnEndResumeBookmark(IAsyncResult result);
761
BookmarkResumptionResult
ScheduleBookmarkResumption(Bookmark bookmark, object value)
771
BookmarkResumptionResult
ScheduleBookmarkResumption(Bookmark bookmark, object value, BookmarkScope scope)
1031
public
BookmarkResumptionResult
ScheduleBookmarkResumption(Bookmark bookmark, object value)
1047
public
BookmarkResumptionResult
ScheduleBookmarkResumption(Bookmark bookmark, object value, BookmarkScope scope)
System\Activities\Hosting\WorkflowInstanceProxy.cs (1)
47
public
BookmarkResumptionResult
EndResumeBookmark(IAsyncResult result)
System\Activities\NativeActivityContext.cs (1)
468
public
BookmarkResumptionResult
ResumeBookmark(Bookmark bookmark, object value)
System\Activities\Runtime\ActivityExecutor.cs (16)
2424
BookmarkResumptionResult
resumptionResult = this.TryResumeUserBookmark(this.mainRootCompleteBookmark, this.rootInstance.State, false);
2426
if (resumptionResult ==
BookmarkResumptionResult
.Success)
2521
internal
BookmarkResumptionResult
TryResumeHostBookmark(Bookmark bookmark, object value)
2526
BookmarkResumptionResult
result = TryResumeUserBookmark(bookmark, value, true);
2533
internal
BookmarkResumptionResult
TryResumeUserBookmark(Bookmark bookmark, object value, bool isExternal)
2537
return
BookmarkResumptionResult
.NotFound;
2549
BookmarkResumptionResult
result = this.bookmarkManager.TryGenerateWorkItem(this, isExternal, ref bookmark, value, isolationInstance, out resumeExecutionWorkItem);
2551
if (result ==
BookmarkResumptionResult
.Success)
2560
else if (result ==
BookmarkResumptionResult
.NotReady)
2567
Fx.Assert(result ==
BookmarkResumptionResult
.NotFound, "This BookmarkNotFound is actually a well-known bookmark.");
2573
result =
BookmarkResumptionResult
.Success;
2645
internal
BookmarkResumptionResult
EndResumeBookmark(IAsyncResult result)
2652
internal
BookmarkResumptionResult
TryResumeBookmark(Bookmark bookmark, object value, BookmarkScope scope)
2670
BookmarkResumptionResult
result = this.BookmarkScopeManager.TryGenerateWorkItem(this, ref bookmark, scope, value, isolationInstance, hasOperations || this.bookmarkManager.HasBookmarks, out resumeExecutionWorkItem);
2672
if (result ==
BookmarkResumptionResult
.Success)
3175
if (executor.TryResumeUserBookmark(this.waiter.OnPersistBookmark, null, false) !=
BookmarkResumptionResult
.Success)
System\Activities\Runtime\BookmarkManager.cs (4)
217
public
BookmarkResumptionResult
TryGenerateWorkItem(ActivityExecutor executor, bool isExternal, ref Bookmark bookmark, object value, ActivityInstance isolationInstance, out ActivityExecutionWorkItem workItem)
224
return
BookmarkResumptionResult
.NotFound;
233
return
BookmarkResumptionResult
.NotReady;
244
return
BookmarkResumptionResult
.Success;
System\Activities\Runtime\BookmarkScopeManager.cs (17)
164
public
BookmarkResumptionResult
TryGenerateWorkItem(ActivityExecutor executor, ref Bookmark bookmark, BookmarkScope scope, object value, ActivityInstance isolationInstance, bool nonScopedBookmarksExist, out ActivityExecutionWorkItem workItem)
185
BookmarkResumptionResult
finalResult =
BookmarkResumptionResult
.NotFound;
198
BookmarkResumptionResult
resumptionResult;
201
resumptionResult =
BookmarkResumptionResult
.NotFound;
205
resumptionResult =
BookmarkResumptionResult
.NotReady;
212
if (resumptionResult ==
BookmarkResumptionResult
.Success)
222
return
BookmarkResumptionResult
.Success;
224
else if (resumptionResult ==
BookmarkResumptionResult
.NotReady)
229
finalResult =
BookmarkResumptionResult
.NotReady;
233
if (finalResult ==
BookmarkResumptionResult
.NotFound)
245
finalResult =
BookmarkResumptionResult
.NotReady;
258
BookmarkResumptionResult
resumptionResult;
261
resumptionResult =
BookmarkResumptionResult
.NotFound;
267
resumptionResult =
BookmarkResumptionResult
.NotReady;
276
if (resumptionResult ==
BookmarkResumptionResult
.NotFound)
280
resumptionResult =
BookmarkResumptionResult
.NotReady;
System\Activities\Statements\DurableTimerExtension.cs (7)
157
BookmarkResumptionResult
resumptionResult;
174
ProcessBookmarkResumptionResult(timerBookmark,
BookmarkResumptionResult
.NotReady);
189
BookmarkResumptionResult
resumptionResult = state.Instance.EndResumeBookmark(result);
194
void ProcessBookmarkResumptionResult(Bookmark timerBookmark,
BookmarkResumptionResult
result)
198
case
BookmarkResumptionResult
.NotFound:
199
case
BookmarkResumptionResult
.Success:
210
case
BookmarkResumptionResult
.NotReady:
System\Activities\WorkflowApplication.cs (22)
2518
bool AreBookmarksInvalid(out
BookmarkResumptionResult
result)
2522
result =
BookmarkResumptionResult
.NotFound;
2527
result =
BookmarkResumptionResult
.NotReady;
2531
result =
BookmarkResumptionResult
.Success;
2536
public
BookmarkResumptionResult
ResumeBookmark(string bookmarkName, object value)
2547
public
BookmarkResumptionResult
ResumeBookmark(Bookmark bookmark, object value)
2553
public
BookmarkResumptionResult
ResumeBookmark(string bookmarkName, object value, TimeSpan timeout)
2564
public
BookmarkResumptionResult
ResumeBookmark(Bookmark bookmark, object value, TimeSpan timeout)
2571
BookmarkResumptionResult
result;
2611
if (result ==
BookmarkResumptionResult
.Success)
2615
else if (result ==
BookmarkResumptionResult
.NotReady)
2677
public
BookmarkResumptionResult
EndResumeBookmark(IAsyncResult result)
2688
protected internal override
BookmarkResumptionResult
OnEndResumeBookmark(IAsyncResult result)
2693
BookmarkResumptionResult
ResumeBookmarkCore(Bookmark bookmark, object value)
2695
BookmarkResumptionResult
result = this.Controller.ScheduleBookmarkResumption(bookmark, value);
2697
if (result ==
BookmarkResumptionResult
.Success)
3184
BookmarkResumptionResult
resumptionResult;
3247
public static
BookmarkResumptionResult
End(IAsyncResult result)
3312
tryOneMore = this.resumptionResult ==
BookmarkResumptionResult
.NotReady;
3349
if (thisPtr.resumptionResult ==
BookmarkResumptionResult
.NotReady)
3388
if (this.resumptionResult ==
BookmarkResumptionResult
.Success)
3404
else if (this.resumptionResult ==
BookmarkResumptionResult
.NotReady)
System.ServiceModel.Activities (15)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (13)
1642
BookmarkResumptionResult
ResumeProtocolBookmarkCore(Bookmark bookmark, object value, BookmarkScope bookmarkScope, bool bufferedReceiveEnabled, ref AsyncWaitHandle waitHandle, ref bool ownsLock)
1646
BookmarkResumptionResult
result;
1656
if (result ==
BookmarkResumptionResult
.NotReady && !bufferedReceiveEnabled && (this.serviceHost.FilterResumeTimeout.TotalSeconds > 0))
1710
public
BookmarkResumptionResult
EndResumeProtocolBookmark(IAsyncResult result)
1720
protected override
BookmarkResumptionResult
OnEndResumeBookmark(IAsyncResult result)
1885
bool AreBookmarksInvalid(out
BookmarkResumptionResult
result)
1889
result =
BookmarkResumptionResult
.NotFound;
1894
result =
BookmarkResumptionResult
.NotReady;
1898
result =
BookmarkResumptionResult
.Success;
2998
BookmarkResumptionResult
resumptionResult;
3069
thisPtr.resumptionResult =
BookmarkResumptionResult
.NotReady;
3150
public static
BookmarkResumptionResult
End(IAsyncResult result)
3199
if (this.resumptionResult ==
BookmarkResumptionResult
.NotReady && !bufferedReceiveEnabled && (this.instance.serviceHost.FilterResumeTimeout.TotalSeconds > 0))
System\ServiceModel\Activities\WorkflowOperationContext.cs (2)
667
BookmarkResumptionResult
resumptionResult = thisPtr.workflowInstance.EndResumeProtocolBookmark(result);
668
if (resumptionResult !=
BookmarkResumptionResult
.Success)