136 references to Opened
System.ServiceModel (113)
System\ServiceModel\ChannelFactory.cs (2)
113
if (this.State != CommunicationState.
Opened
)
117
if (this.State != CommunicationState.
Opened
)
System\ServiceModel\Channels\ChannelDemuxer.cs (2)
302
if (this.innerChannel.State == CommunicationState.
Opened
)
665
if (this.innerChannel.State != CommunicationState.
Opened
)
System\ServiceModel\Channels\ChannelFactoryBase.cs (1)
147
if (this.State != CommunicationState.
Opened
)
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
85
case CommunicationState.
Opened
:
122
case CommunicationState.
Opened
:
System\ServiceModel\Channels\ChannelReliableSession.cs (2)
165
if ((this.binder.State == CommunicationState.
Opened
)
330
if ((this.binder.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\ChannelTracker.cs (1)
34
if (this.State != CommunicationState.
Opened
)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (2)
113
|| (currentState == CommunicationState.
Opened
))
302
|| (currentState == CommunicationState.
Opened
))
System\ServiceModel\Channels\CommunicationObject.cs (11)
184
case CommunicationState.
Opened
:
303
case CommunicationState.
Opened
:
439
case CommunicationState.
Opened
:
719
this.state = CommunicationState.
Opened
;
780
case CommunicationState.
Opened
:
829
case CommunicationState.
Opened
:
863
case CommunicationState.
Opened
:
892
case CommunicationState.
Opened
:
921
case CommunicationState.
Opened
:
950
case CommunicationState.
Opened
:
985
case CommunicationState.
Opened
:
System\ServiceModel\Channels\ConnectionOrientedTransportChannelListener.cs (1)
454
if (this.State != CommunicationState.
Opened
)
System\ServiceModel\Channels\DatagramAdapter.cs (3)
130
while (this.listener.State == CommunicationState.
Opened
)
203
if (this.State == CommunicationState.
Opened
)
442
if (this.channel.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
1220
if (channel.State != CommunicationState.
Opened
)
1745
if (channel.State != CommunicationState.
Opened
)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (1)
213
if (this.innerInputChannel.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\MsmqBindingMonitor.cs (3)
83
this.currentState = CommunicationState.
Opened
;
92
if (this.currentState != CommunicationState.
Opened
)
210
if (this.currentState != CommunicationState.
Opened
)
System\ServiceModel\Channels\MsmqInputChannelBase.cs (2)
179
else if (CommunicationState.
Opened
== this.State)
248
else if (CommunicationState.
Opened
== this.State)
System\ServiceModel\Channels\MsmqInputChannelListenerBase.cs (1)
27
if (!this.IsDisposed && (CommunicationState.
Opened
== this.State || CommunicationState.Opening == this.State))
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (1)
540
if (this.channel.State == CommunicationState.
Opened
&& this.channel.InternalPendingItems > 0)
System\ServiceModel\Channels\MsmqInputSessionChannelListener.cs (2)
95
if (CommunicationState.
Opened
== this.State)
170
if (CommunicationState.
Opened
== this.State)
System\ServiceModel\Channels\OneWayChannelFactory.cs (1)
642
if (pooledChannel.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\OneWayChannelListener.cs (7)
677
&& (this.innerChannelListener.State == CommunicationState.
Opened
);
863
bool canDispatchOnThisThread = (innerChannelListener.State != CommunicationState.
Opened
);
1174
if (this.State != CommunicationState.
Opened
)
1262
if (channel.State != CommunicationState.
Opened
)
1371
startLoop = (this.channel.State == CommunicationState.
Opened
);
1380
startLoop = (this.channel.State == CommunicationState.
Opened
);
1460
if (this.channel.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\PeerDuplexChannel.cs (1)
62
Fx.Assert(this.State < CommunicationState.
Opened
, "Can not change the dispatcher on DuplexChannel after Open.");
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
1588
if (channel.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\ReliableChannelBinder.cs (10)
316
if (this.state == CommunicationState.
Opened
)
746
this.state = CommunicationState.
Opened
;
760
|| (this.state == CommunicationState.
Opened
))
935
if (this.State == CommunicationState.
Opened
)
1844
if (channel.State == CommunicationState.
Opened
)
3798
if (lastIteration || channel.State != CommunicationState.
Opened
)
3864
if (lastIteration || channel.State != CommunicationState.
Opened
)
3980
if (this.lastReceive || this.channel.State != CommunicationState.
Opened
)
4015
if (this.lastReceive || this.channel.State != CommunicationState.
Opened
)
4163
if (this.lastReceive || this.channel.State != CommunicationState.
Opened
)
System\ServiceModel\Channels\ReliableChannelListener.cs (4)
77
get { return this.State == CommunicationState.
Opened
; }
652
(o.State == CommunicationState.
Opened
))
724
&& (this.typedListener.State == CommunicationState.
Opened
))
860
while (this.typedListener.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (8)
757
if ((this.State != CommunicationState.
Opened
)
922
this.State == CommunicationState.
Opened
||
939
this.State == CommunicationState.
Opened
||
983
if ((this.State != CommunicationState.
Opened
)
1229
if (!terminated && (this.Binder.State == CommunicationState.
Opened
))
1424
if (this.State == CommunicationState.
Opened
)
1544
if ((this.State == CommunicationState.
Opened
|| this.State == CommunicationState.Closing) &&
1624
if ((channel.State == CommunicationState.
Opened
|| channel.State == CommunicationState.Closing) &&
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (2)
484
if (!terminated && (this.Binder.State == CommunicationState.
Opened
))
943
if (!terminated && (this.Binder.State == CommunicationState.
Opened
))
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
1556
|| (this.binder.State != CommunicationState.
Opened
)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (3)
265
this.State == CommunicationState.
Opened
||
282
this.State == CommunicationState.
Opened
||
1071
if (!this.Connection.Closed && (this.Binder.State == CommunicationState.
Opened
))
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (1)
389
if (!terminated && (this.Binder.State == CommunicationState.
Opened
))
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (2)
287
this.State == CommunicationState.
Opened
||
304
this.State == CommunicationState.
Opened
||
System\ServiceModel\Channels\RequestContextBase.cs (4)
17
CommunicationState state = CommunicationState.
Opened
;
34
this.state = CommunicationState.
Opened
;
143
if (state != CommunicationState.
Opened
)
220
if ((this.state != CommunicationState.
Opened
) || this.replyInitiated)
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
144
if (this.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (2)
371
&& (this.listener.State == CommunicationState.
Opened
))
487
while (this.listener.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\ServiceChannel.cs (1)
892
if (this.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\SharedConnectionListener.cs (2)
197
this.state != CommunicationState.
Opened
)
261
this.state = CommunicationState.
Opened
;
System\ServiceModel\Channels\TransportReplyChannelAcceptor.cs (1)
107
if (this.State != CommunicationState.
Opened
)
System\ServiceModel\ClientBase.cs (2)
831
if (factoryRef.ChannelFactory.State != CommunicationState.
Opened
)
914
Fx.Assert(this.channelFactoryRef.ChannelFactory.State == CommunicationState.
Opened
,
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (2)
576
if (this.State == CommunicationState.
Opened
)
592
if (this.State == CommunicationState.
Opened
)
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
177
if (this.listener.State == CommunicationState.
Opened
)
245
get { return this.binder.Channel.State == CommunicationState.
Opened
; }
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
1309
if (!this.closeState.TryBackgroundClose() || this.State != CommunicationState.
Opened
)
System\ServiceModel\Dispatcher\InstanceBehavior.cs (2)
116
if (context.State == CommunicationState.
Opened
)
126
if (context.State == CommunicationState.
Opened
)
System\ServiceModel\Dispatcher\InstanceContextManager.cs (1)
85
if (instance.State == CommunicationState.
Opened
)
System\ServiceModel\Dispatcher\ServiceThrottle.cs (1)
407
if (this.host.State == CommunicationState.
Opened
)
System\ServiceModel\Dispatcher\SingletonInstanceContextProvider.cs (2)
39
else if (instanceContext.State != CommunicationState.
Opened
)
46
if (instanceContext.State != CommunicationState.
Opened
)
System\ServiceModel\InstanceContext.cs (2)
363
if (this.State != CommunicationState.
Opened
)
374
if (this.State == CommunicationState.
Opened
)
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (2)
671
if (this.isTimerCancelled || (this.CommunicationObject.State != CommunicationState.
Opened
&& this.CommunicationObject.State != CommunicationState.Opening))
697
if (this.CommunicationObject.State == CommunicationState.
Opened
|| this.CommunicationObject.State == CommunicationState.Opening)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
1028
if (this.settings.communicationObject.State != CommunicationState.
Opened
)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (3)
714
if (this.channelFactory != null && this.channelFactory.State == CommunicationState.
Opened
)
727
if (this.channelFactory != null && this.channelFactory.State == CommunicationState.
Opened
)
751
return (this.channelFactory.State != CommunicationState.
Opened
);
System\ServiceModel\ServiceHost.cs (1)
1120
if (channelDispatcher.State == CommunicationState.
Opened
)
System.ServiceModel.Activation (1)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1047
if (service.State != CommunicationState.
Opened
)
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (1)
215
if (thisPtr.Host.State == CommunicationState.Opening || thisPtr.Host.State == CommunicationState.
Opened
)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (1)
477
Fx.AssertAndThrow(State != CommunicationState.
Opened
,
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
2699
if (this.workflowInstance.persistenceContext.State != CommunicationState.
Opened
)
System\ServiceModel\Activities\InternalSendMessage.cs (4)
2879
if (result != null && (result.State != CommunicationState.
Opened
|| (serviceChannel != null && serviceChannel.Binder.Channel.State != CommunicationState.
Opened
)))
2915
bool shouldDispose = channel.State != CommunicationState.
Opened
;
2967
if (communicationObject.State == CommunicationState.
Opened
)
System.ServiceModel.Channels (9)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (4)
37
if (this.State == CommunicationState.
Opened
)
72
if (this.State == CommunicationState.
Opened
)
198
if (this.State != CommunicationState.
Opened
)
222
if (this.State != CommunicationState.
Opened
)
System\ServiceModel\Channels\UdpChannelBase.cs (2)
220
if (this.State == CommunicationState.
Opened
)
224
if (this.State == CommunicationState.
Opened
)
System\ServiceModel\Channels\UdpChannelListener.cs (3)
194
Fx.Assert(this.State != CommunicationState.
Opened
, "buffer manager should only be null when closing down and the channel instance has taken control of the receive manager.");
466
if (this.State != CommunicationState.
Opened
)
468
Fx.Assert(this.State > CommunicationState.
Opened
, "DispatchMessage called when object is not fully opened. This would indicate that the receive loop started before transitioning to CommunicationState.Opened, which should not happen.");
System.WorkflowServices (6)
System\Workflow\Runtime\Hosting\ChannelManager.cs (5)
100
bool connectionIsStillGood = (channel.State == CommunicationState.
Opened
);
161
while (channel != null && channel.State != CommunicationState.
Opened
)
234
bool invalidFactory = (channelFactory.ChannelFactory.State != CommunicationState.
Opened
);
262
if (factory == null || factory.ChannelFactory.State != CommunicationState.
Opened
)
399
if (this.channel.State == CommunicationState.
Opened
)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
73
if (communicationObject.State == CommunicationState.
Opened
)