9 writes to State
System.ServiceModel (9)
System\ServiceModel\Channels\ReceiveContext.cs (9)
26this.State = ReceiveContextState.Received; 119this.State = ReceiveContextState.Abandoned; 185this.State = ReceiveContextState.Completed; 235this.State = ReceiveContextState.Faulted; 304this.State = ReceiveContextState.Received; 328this.State = ReceiveContextState.Abandoning; 344this.State = ReceiveContextState.Completing; 489this.ReceiveContext.State = ReceiveContextState.Abandoned; 591this.ReceiveContext.State = ReceiveContextState.Completed;
17 references to State
System.ServiceModel (15)
System\ServiceModel\Channels\ReceiveContext.cs (15)
231if (this.State == ReceiveContextState.Completed || this.State == ReceiveContextState.Abandoned || this.State == ReceiveContextState.Faulted) 302if (this.State == ReceiveContextState.Completing || this.State == ReceiveContextState.Completed) 320if (this.State == ReceiveContextState.Abandoning || this.State == ReceiveContextState.Abandoned) 356if (State == ReceiveContextState.Faulted) 365if (State != ReceiveContextState.Abandoning) 368new InvalidOperationException(SR.GetString(SR.ReceiveContextInInvalidState, this.GetType().ToString(), this.State.ToString()))); 374if (State != ReceiveContextState.Completing) 377new InvalidOperationException(SR.GetString(SR.ReceiveContextInInvalidState, this.GetType().ToString(), this.State.ToString()))); 383if (State != ReceiveContextState.Received) 386new InvalidOperationException(SR.GetString(SR.ReceiveContextCannotBeUsed, this.GetType().ToString(), this.State.ToString()))); 409return new InvalidOperationException(SR.GetString(SR.ReceiveContextInInvalidState, this.GetType().ToString(), this.State.ToString()), exception);
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (1)
90if (receiveContext.State == ReceiveContextState.Received)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
746return this.receiveContext != null && this.receiveContext.State != ReceiveContextState.Faulted;