80 references to Opened
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
100if (comObj.State == System.ServiceModel.CommunicationState.Opened)
Client.ClientBase.IntegrationTests (11)
ClientBaseTests.4.0.0.cs (11)
171Assert.Equal(CommunicationState.Opened, client.State); 176Assert.Equal(CommunicationState.Opened, client.State); 241Assert.True(CommunicationState.Opened == client.State, 244Assert.True(CommunicationState.Opened == factory.State, 247Assert.True(CommunicationState.Opened == ((ICommunicationObject)serviceProxy).State, 317Assert.True(CommunicationState.Opened == client.State, 320Assert.True(CommunicationState.Opened == factory.State, 323Assert.True(CommunicationState.Opened == ((ICommunicationObject)serviceProxy).State, 396Assert.True(CommunicationState.Opened == client.State, 399Assert.True(CommunicationState.Opened == factory.State, 402Assert.True(CommunicationState.Opened == ((ICommunicationObject)serviceProxy).State,
Contract.Service.IntegrationTests (2)
ServiceContractTests.4.0.0.cs (2)
311Assert.True(factory.State == CommunicationState.Opened, 365Assert.True(proxyAsCommunicationObject.State == CommunicationState.Opened,
Infrastructure.Common (1)
ServiceUtilHelper.cs (1)
431if (comObj.State == CommunicationState.Opened)
ScenarioTests.Common.Tests (1)
ScenarioTestHelpers.cs (1)
195if (comObj.State == CommunicationState.Opened)
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (2)
456if (ChannelFactory != null && ChannelFactory.State == CommunicationState.Opened) 465if (ChannelFactory != null && ChannelFactory.State == CommunicationState.Opened)
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1012if (_channel.State != CommunicationState.Opened)
System.ServiceModel.Primitives (53)
System\ServiceModel\ChannelFactory.cs (3)
101if (State != CommunicationState.Opened) 105if (State != CommunicationState.Opened) 150if (State == CommunicationState.Opened)
System\ServiceModel\Channels\ChannelFactoryBase.cs (1)
161if (State != CommunicationState.Opened)
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
85case CommunicationState.Opened: 122case CommunicationState.Opened:
System\ServiceModel\Channels\ChannelReliableSession.cs (2)
87if ((_binder.State == CommunicationState.Opened) 238if ((_binder.State == CommunicationState.Opened)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (1)
207|| (currentState == CommunicationState.Opened))
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (7)
686State == CommunicationState.Opened || 703State == CommunicationState.Opened || 757if ((State != CommunicationState.Opened) 947if (!terminated && (Binder.State == CommunicationState.Opened)) 1038if (State == CommunicationState.Opened) 1130if ((State == CommunicationState.Opened || State == CommunicationState.Closing) && 1186if ((channel.State == CommunicationState.Opened || channel.State == CommunicationState.Closing) &&
System\ServiceModel\Channels\CommunicationObject.cs (10)
261case CommunicationState.Opened: 382case CommunicationState.Opened: 692_state = CommunicationState.Opened; 751case CommunicationState.Opened: 800case CommunicationState.Opened: 834case CommunicationState.Opened: 863case CommunicationState.Opened: 892case CommunicationState.Opened: 921case CommunicationState.Opened: 958case CommunicationState.Opened:
System\ServiceModel\Channels\ReliableChannelBinder.cs (7)
187if (State == CommunicationState.Opened) 497State = CommunicationState.Opened; 511|| (State == CommunicationState.Opened)) 683if (State == CommunicationState.Opened) 1372if (channel.State == CommunicationState.Opened) 2073if (lastIteration || channel.State != CommunicationState.Opened) 2148if (lastIteration || channel.State != CommunicationState.Opened)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
889|| (binder.State != CommunicationState.Opened)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (3)
214State == CommunicationState.Opened || 231State == CommunicationState.Opened || 830if (!Connection.Closed && (Binder.State == CommunicationState.Opened))
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (2)
223State == CommunicationState.Opened || 240State == CommunicationState.Opened ||
System\ServiceModel\Channels\RequestContextBase.cs (4)
13private CommunicationState _state = CommunicationState.Opened; 28_state = CommunicationState.Opened; 119if (_state != CommunicationState.Opened) 208if ((_state != CommunicationState.Opened) || ReplyInitiated)
System\ServiceModel\Channels\ServiceChannel.cs (2)
835if (State == CommunicationState.Opened) 1613if (State == CommunicationState.Opened)
System\ServiceModel\ClientBase.cs (3)
457if (State == CommunicationState.Opened) 638if (factoryRef.ChannelFactory.State != CommunicationState.Opened) 727Fx.Assert(_channelFactoryRef.ChannelFactory.State == CommunicationState.Opened,
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (2)
348if (State == CommunicationState.Opened) 359if (State == CommunicationState.Opened)
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
108if (_listener.State == CommunicationState.Opened) 123get { return Binder.Channel.State == CommunicationState.Opened; }
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
1264if (!_closeState.TryBackgroundClose() || State != CommunicationState.Opened)
System.ServiceModel.Primitives.Tests (8)
Channels\CommunicationObjectTest.cs (2)
209Assert.True(data.StateLeaveOnOpened == CommunicationState.Opened, 276Assert.True(data.StateLeaveOnOpened == CommunicationState.Opened,
ServiceModel\ChannelFactoryTest.cs (3)
154Assert.Equal(CommunicationState.Opened, factory.State); 222Assert.True(CommunicationState.Opened == factory.State, 223string.Format("factory.State - Expected: {0}, Actual: {1}.", CommunicationState.Opened, factory.State));
ServiceModel\ClientBaseTest.cs (3)
25Assert.Equal(CommunicationState.Opened, client.State); 186Assert.Equal(CommunicationState.Opened, client.State); 204Assert.Equal(CommunicationState.Opened, client.State);