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