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