16 references to State
System.ServiceModel.Activities (16)
System\ServiceModel\Activities\WorkflowOperationContext.cs (16)
180
return this.CurrentState ==
State
.Completed || this.CurrentState ==
State
.ResultReceived;
186
State
CurrentState
226
Fx.Assert(this.CurrentState !=
State
.Completed && this.CurrentState !=
State
.ResultReceived, "Cannot receive this call after completion/result");
242
Fx.Assert(this.CurrentState !=
State
.Completed && this.CurrentState !=
State
.ResultReceived, "Cannot receive this call after completion/result");
260
Fx.Assert(this.CurrentState !=
State
.Completed && this.CurrentState !=
State
.ResultReceived, "Cannot receive this call after completion/result");
294
if (this.CurrentState ==
State
.BookmarkResumption) //We are still in Bookmark Resume
296
this.CurrentState =
State
.ResultReceived; //HandleEndResumeBookmark will take care of Completing AsyncResult.
298
else if (this.CurrentState ==
State
.WaitForResult) //We already finished the bookmarkOperation; Now have to signal the AsynResult.
300
this.CurrentState =
State
.Completed;
697
if (thisPtr.CurrentState ==
State
.ResultReceived)
699
thisPtr.CurrentState =
State
.Completed;
708
thisPtr.CurrentState =
State
.WaitForResult;