19 references to LifetimeState
System.ServiceModel (19)
System\ServiceModel\Channels\CommunicationObjectManager.cs (1)
29if (this.State == LifetimeState.Opened && !this.inputClosed)
System\ServiceModel\Channels\LifetimeManager.cs (14)
27LifetimeState state; 32this.state = LifetimeState.Opened; 40protected LifetimeState State 54if (this.State == LifetimeState.Closed || this.aborted) 61this.state = LifetimeState.Closing; 65this.state = LifetimeState.Closed; 70if (!this.aborted && this.state != LifetimeState.Opened) 90this.state = LifetimeState.Closing; 105this.state = LifetimeState.Closing; 109this.state = LifetimeState.Closed; 181if (empty && this.State == LifetimeState.Opened) 188this.state = LifetimeState.Closed; 195Fx.Assert(this.State == LifetimeState.Opened, "LifetimeManager.IncrementBusyCount: (this.State == LifetimeState.Opened)"); 202Fx.Assert(this.State == LifetimeState.Opened, "LifetimeManager.IncrementBusyCountWithoutLock: (this.State == LifetimeState.Opened)");
System\ServiceModel\Dispatcher\InstanceContextManager.cs (1)
44if (this.State == LifetimeState.Opened)
System\ServiceModel\ServiceChannelManager.cs (3)
91if (this.State == LifetimeState.Opened) 233if (empty && this.State == LifetimeState.Opened) 273if (this.State == LifetimeState.Closed)