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