50 references to Created
Client.ClientBase.IntegrationTests (7)
ClientBaseTests.4.0.0.cs (7)
167Assert.Equal(CommunicationState.Created, client.State); 219Assert.True(CommunicationState.Created == client.State, 222Assert.True(CommunicationState.Created == factory.State, 294Assert.True(CommunicationState.Created == client.State, 297Assert.True(CommunicationState.Created == factory.State, 373Assert.True(CommunicationState.Created == client.State, 376Assert.True(CommunicationState.Created == factory.State,
System.ServiceModel.Federation (1)
System\ServiceModel\Federation\WSTrustChannel.cs (1)
31if (requestChannel.State != CommunicationState.Created)
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
806if (State == CommunicationState.Created)
System.ServiceModel.Primitives (31)
System\ServiceModel\ChannelFactory.cs (3)
37if (State == CommunicationState.Created || State == CommunicationState.Opening) 172Fx.Assert(State == CommunicationState.Created || State == CommunicationState.Opening, ""); 181Fx.Assert(State == CommunicationState.Created || State == CommunicationState.Opening, "");
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
81case CommunicationState.Created: 116case CommunicationState.Created:
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (2)
205if ((currentState == CommunicationState.Created) 406if (State == CommunicationState.Created)
System\ServiceModel\Channels\CommunicationObject.cs (11)
43_state = CommunicationState.Created; 251case CommunicationState.Created: 376case CommunicationState.Created: 745case CommunicationState.Created: 794case CommunicationState.Created: 828case CommunicationState.Created: 857case CommunicationState.Created: 886case CommunicationState.Created: 915case CommunicationState.Created: 940if (_state == CommunicationState.Created || _state == CommunicationState.Opening) 952case CommunicationState.Created:
System\ServiceModel\Channels\ReliableChannelBinder.cs (6)
111public CommunicationState State { get; private set; } = CommunicationState.Created; 202if ((channelState == CommunicationState.Created) 323if (State == CommunicationState.Created) 506if (State != CommunicationState.Created) 673if (State == CommunicationState.Created) 1069&& (CurrentChannel.State == CommunicationState.Created))
System\ServiceModel\Channels\ServiceChannel.cs (2)
62_openBinder = (binder.Channel.State == CommunicationState.Created); 543if ((State == CommunicationState.Created) && !operation.IsInitiating)
System\ServiceModel\ClientBase.cs (1)
261return CommunicationState.Created;
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
160if (Binder.Channel.State == CommunicationState.Created)
System\ServiceModel\Dispatcher\InstanceBehavior.cs (2)
55if (rpc.InstanceContext.State == CommunicationState.Created) 59if (rpc.InstanceContext.State == CommunicationState.Created)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
248if (state == CommunicationState.Created)
System.ServiceModel.Primitives.Tests (10)
Channels\CommunicationObjectTest.cs (2)
188Assert.True(data.StateAfterCreate == CommunicationState.Created, 255Assert.True(data.StateAfterCreate == CommunicationState.Created,
ServiceModel\ChannelFactoryTest.cs (3)
148Assert.Equal(CommunicationState.Created, factory.State); 218Assert.True(CommunicationState.Created == factory.State, 219string.Format("factory.State - Expected: {0}, Actual: {1}.", CommunicationState.Created, factory.State));
ServiceModel\ClientBaseTest.cs (3)
23Assert.Equal(CommunicationState.Created, client.State); 184Assert.Equal(CommunicationState.Created, client.State); 202Assert.Equal(CommunicationState.Created, client.State);
ServiceModel\DuplexClientBaseTest.cs (2)
24Assert.Equal<CommunicationState>(CommunicationState.Created, duplexClientBase.State); 37Assert.Equal<CommunicationState>(CommunicationState.Created, duplexClientBase.State);