11 implementations of State
System.ServiceModel (9)
System\ServiceModel\Channels\CommunicationObject.cs (1)
70public CommunicationState State
System\ServiceModel\ClientBase.cs (2)
442public CommunicationState State 1253CommunicationState ICommunicationObject.State
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
1144public CommunicationState State
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
236public CommunicationState State
System\ServiceModel\Security\WrappedSessionSecurityTokenAuthenticator.cs (1)
241public CommunicationState State
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (2)
169public CommunicationState State 346public CommunicationState State
System\ServiceModel\Security\WSTrustChannel.cs (1)
951public System.ServiceModel.CommunicationState State
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\AnnouncementClient.cs (1)
261CommunicationState ICommunicationObject.State
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
222CommunicationState ICommunicationObject.State
81 references to State
SMSvcHost (2)
System\ServiceModel\Activation\WorkerProcess.cs (2)
162Debug.Print("WorkerProcess.WorkerProcess_Closed() worker leaving: " + processId + " State: " + ((IDuplexContextChannel)sender).State); 168Debug.Print("WorkerProcess.WorkerProcess_Faulted() worker leaving: " + processId + " State: " + ((IDuplexContextChannel)sender).State);
System.ServiceModel (69)
System\ServiceModel\Channels\ChannelDemuxer.cs (6)
302if (this.innerChannel.State == CommunicationState.Opened) 516if (listener.State == CommunicationState.Closed || listener.State == CommunicationState.Closing) 665if (this.innerChannel.State != CommunicationState.Opened) 1993if (listener.State == CommunicationState.Closed || listener.State == CommunicationState.Closing)
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
76CommunicationState state = channel.State; 111CommunicationState state = channel.State;
System\ServiceModel\Channels\ClientContextProtocol.cs (3)
56if (this.owner.State != CommunicationState.Created) 217(this.owner.State == CommunicationState.Created)) 222(this.owner.State == CommunicationState.Created))
System\ServiceModel\Channels\DatagramAdapter.cs (6)
130while (this.listener.State == CommunicationState.Opened) 442if (this.channel.State == CommunicationState.Opened) 1168if (channel.State == CommunicationState.Created) 1232if (channel.State == CommunicationState.Created) 1399if (channel.State == CommunicationState.Created) 1466if (channel.State == CommunicationState.Created)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (1)
213if (this.innerInputChannel.State == CommunicationState.Opened)
System\ServiceModel\Channels\OneWayChannelFactory.cs (1)
642if (pooledChannel.State == CommunicationState.Opened)
System\ServiceModel\Channels\OneWayChannelListener.cs (6)
677&& (this.innerChannelListener.State == CommunicationState.Opened); 863bool canDispatchOnThisThread = (innerChannelListener.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\PeerNeighborManager.cs (1)
1588if (channel.State == CommunicationState.Opened)
System\ServiceModel\Channels\ReliableChannelBinder.cs (10)
329CommunicationState channelState = channel.State; 1534&& (this.currentChannel.State == CommunicationState.Created)) 1735if (this.currentChannel.State != CommunicationState.Faulted) 1804if (this.currentChannel.State == CommunicationState.Faulted) 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 (5)
652(o.State == CommunicationState.Opened)) 724&& (this.typedListener.State == CommunicationState.Opened)) 730else if (this.typedListener.State == CommunicationState.Faulted) 860while (this.typedListener.State == CommunicationState.Opened) 904else if (this.typedListener.State == CommunicationState.Faulted)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (5)
319if (this.listener.State == CommunicationState.Faulted) 371&& (this.listener.State == CommunicationState.Opened)) 375else if (this.listener.State == CommunicationState.Faulted) 487while (this.listener.State == CommunicationState.Opened) 530else if (this.listener.State == CommunicationState.Faulted)
System\ServiceModel\Channels\ServiceChannel.cs (3)
80this.openBinder = (binder.Channel.State == CommunicationState.Created); 2685if (!this.isTimerCancelled && binder.Channel.State != CommunicationState.Faulted && binder.Channel.State != CommunicationState.Closed)
System\ServiceModel\ClientBase.cs (2)
449return channel.State; 1255get { return ((ICommunicationObject)this.channel).State; }
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
245get { return this.binder.Channel.State == CommunicationState.Opened; } 305if (this.binder.Channel.State == CommunicationState.Created)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (3)
316if (this.channel.State == CommunicationState.Faulted) 426if (this.channel.State == CommunicationState.Faulted) 1146get { return this.innerChannel.State; }
System\ServiceModel\Dispatcher\ListenerHandler.cs (5)
165if (this.acceptedNull || (listener.State == CommunicationState.Faulted)) 187if (this.acceptedNull || (listener.State == CommunicationState.Faulted)) 217if (this.acceptedNull || (listener.State == CommunicationState.Faulted)) 434if (channel.State != CommunicationState.Closing && channel.State != CommunicationState.Closed)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (5)
714if (this.channelFactory != null && this.channelFactory.State == CommunicationState.Opened) 727if (this.channelFactory != null && this.channelFactory.State == CommunicationState.Opened) 751return (this.channelFactory.State != CommunicationState.Opened); 756if (this.channelFactory.State == CommunicationState.Created) 764if (this.channelFactory.State == CommunicationState.Created)
System\ServiceModel\Security\WrappedSessionSecurityTokenAuthenticator.cs (1)
244get { return _communicationObject.State; }
System\ServiceModel\Security\WSTrustChannel.cs (1)
953get { return Channel.State; }
System\ServiceModel\ServiceHost.cs (1)
1120if (channelDispatcher.State == CommunicationState.Opened)
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\InternalSendMessage.cs (4)
1772if (this.channel.State == CommunicationState.Created) 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.Discovery (3)
System\ServiceModel\Discovery\AnnouncementClient.cs (2)
221if (((ICommunicationObject)this).State != CommunicationState.Created) 265return InnerCommunicationObject.State;
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
226return this.InnerCommunicationObject.State;
System.WorkflowServices (3)
System\Workflow\Runtime\Hosting\ChannelManager.cs (2)
380return this.channel.State; 399if (this.channel.State == CommunicationState.Opened)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
73if (communicationObject.State == CommunicationState.Opened)