46 references to Closing
System.ServiceModel.Primitives (36)
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
86case CommunicationState.Closing: 123case CommunicationState.Closing:
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (6)
318else if (State == CommunicationState.Closing) 654if (State == CommunicationState.Closing 687State == CommunicationState.Closing) 704State == CommunicationState.Closing) 1130if ((State == CommunicationState.Opened || State == CommunicationState.Closing) && 1186if ((channel.State == CommunicationState.Opened || channel.State == CommunicationState.Closing) &&
System\ServiceModel\Channels\CommunicationObject.cs (14)
166_state = CommunicationState.Closing; 243_state = CommunicationState.Closing; 294case CommunicationState.Closing: 385case CommunicationState.Closing: 413if (_state == CommunicationState.Closed || _state == CommunicationState.Closing) 452Fx.Assert(currentState == CommunicationState.Closing || currentState == CommunicationState.Closed || currentState == CommunicationState.Faulted, 478case CommunicationState.Closing: 754case CommunicationState.Closing: 803case CommunicationState.Closing: 837case CommunicationState.Closing: 866case CommunicationState.Closing: 895case CommunicationState.Closing: 924case CommunicationState.Closing: 961case CommunicationState.Closing:
System\ServiceModel\Channels\ReliableChannelBinder.cs (6)
148State = CommunicationState.Closing; 181if ((State == CommunicationState.Closing) 189State = CommunicationState.Closing; 208else if ((channelState == CommunicationState.Closing) 373else if ((State == CommunicationState.Closing) 716if ((State != CommunicationState.Closing)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (2)
215State == CommunicationState.Closing) 232State == CommunicationState.Closing)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (2)
224State == CommunicationState.Closing) 241State == CommunicationState.Closing)
System\ServiceModel\Channels\RequestContextBase.cs (3)
89_state = CommunicationState.Closing; 129_state = CommunicationState.Closing; 182if (_state == CommunicationState.Closed || _state == CommunicationState.Closing)
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
144if (channel.State != CommunicationState.Closing && channel.State != CommunicationState.Closed)
System.ServiceModel.Primitives.Tests (10)
Channels\CommunicationObjectTest.cs (10)
213Assert.True(data.StateEnterOnClosing == CommunicationState.Closing, 216Assert.True(data.StateLeaveOnClosing == CommunicationState.Closing, 220Assert.True(data.StateEnterOnClose == CommunicationState.Closing, 223Assert.True(data.StateLeaveOnClose == CommunicationState.Closing, 227Assert.True(data.StateEnterOnClosed == CommunicationState.Closing, 280Assert.True(data.StateEnterOnClosing == CommunicationState.Closing, 283Assert.True(data.StateLeaveOnClosing == CommunicationState.Closing, 287Assert.True(data.StateEnterOnBeginClose == CommunicationState.Closing, 290Assert.True(data.StateLeaveOnBeginClose == CommunicationState.Closing, 294Assert.True(data.StateEnterOnClosed == CommunicationState.Closing,