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