120 references to Closed
System.ServiceModel (117)
System\ServiceModel\Channels\ChannelDemuxer.cs (2)
516if (listener.State == CommunicationState.Closed || listener.State == CommunicationState.Closing) 1993if (listener.State == CommunicationState.Closed || listener.State == CommunicationState.Closing)
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
87case CommunicationState.Closed: 124case CommunicationState.Closed:
System\ServiceModel\Channels\ChannelReliableSession.cs (2)
257this.channel.State == CommunicationState.Closed) 289this.channel.State == CommunicationState.Closed)
System\ServiceModel\Channels\CommunicationObject.cs (18)
67get { return this.state == CommunicationState.Closed; } 103if (this.aborted || this.state == CommunicationState.Closed) 166if (originalState != CommunicationState.Closed) 212case CommunicationState.Closed: 285if (originalState != CommunicationState.Closed) 338case CommunicationState.Closed: 445case CommunicationState.Closed: 473if (this.state == CommunicationState.Closed || this.state == CommunicationState.Closing) 521Fx.Assert(currentState == CommunicationState.Closing || currentState == CommunicationState.Closed || currentState == CommunicationState.Faulted, 548case CommunicationState.Closed: 623this.state = CommunicationState.Closed; 786case CommunicationState.Closed: 835case CommunicationState.Closed: 869case CommunicationState.Closed: 898case CommunicationState.Closed: 927case CommunicationState.Closed: 956case CommunicationState.Closed: 991case CommunicationState.Closed:
System\ServiceModel\Channels\MsmqBindingMonitor.cs (1)
97this.currentState = CommunicationState.Closed;
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (2)
113if (CommunicationState.Closed == this.State || CommunicationState.Closing == this.State) 139if (CommunicationState.Closed == this.State || CommunicationState.Closing == this.State)
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
286if (this.channel.State != CommunicationState.Closed)
System\ServiceModel\Channels\OneWayChannelListener.cs (1)
1056if (this.State == CommunicationState.Closing || this.State == CommunicationState.Closed)
System\ServiceModel\Channels\PeerChannelListener.cs (1)
148if (this.State < CommunicationState.Closed && this.peerNode != null)
System\ServiceModel\Channels\PeerDuplexChannel.cs (1)
102if (this.State < CommunicationState.Closed)
System\ServiceModel\Channels\PeerInputChannel.cs (1)
58if (this.State < CommunicationState.Closed)
System\ServiceModel\Channels\PeerOutputChannel.cs (1)
60if (this.State < CommunicationState.Closed)
System\ServiceModel\Channels\ReliableChannelBinder.cs (7)
172if (this.state == CommunicationState.Closed) 311|| (this.state == CommunicationState.Closed)) 338|| (channelState == CommunicationState.Closed)) 546|| (this.state == CommunicationState.Closed)) 591|| (this.state == CommunicationState.Closed)) 969&& (this.state != CommunicationState.Closed) 975this.state = CommunicationState.Closed;
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (1)
727|| this.State == CommunicationState.Closed
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (1)
514|| this.State == CommunicationState.Closed
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (3)
580if (this.Aborted || this.State == CommunicationState.Faulted || this.State == CommunicationState.Closed) 649if (this.Aborted || this.State == CommunicationState.Faulted || this.State == CommunicationState.Closed) 1047if (this.Aborted || this.State == CommunicationState.Faulted || this.State == CommunicationState.Closed)
System\ServiceModel\Channels\RequestContextBase.cs (4)
103if (state == CommunicationState.Closed) 123state = CommunicationState.Closed; 165state = CommunicationState.Closed; 200if (state == CommunicationState.Closed || state == CommunicationState.Closing)
System\ServiceModel\Channels\SecurityChannelListener.cs (8)
352if (this.State == CommunicationState.Closing && this.State == CommunicationState.Closed) 600if (this.securityListener.State == CommunicationState.Closed || this.securityListener.State == CommunicationState.Closing) 685if (this.State == CommunicationState.Closed || this.State == CommunicationState.Closing) 707if (this.State == CommunicationState.Closed || this.State == CommunicationState.Closing) 963if (this.State == CommunicationState.Closed || this.State == CommunicationState.Faulted) 1140if (this.State == CommunicationState.Closed || this.State == CommunicationState.Faulted) 1331if (this.State == CommunicationState.Closed || this.State == CommunicationState.Faulted) 1556if (this.channel.State == CommunicationState.Closed)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (3)
267this.State != CommunicationState.Closed) 547this.State != CommunicationState.Closed) 577this.State == CommunicationState.Closed)
System\ServiceModel\Channels\ServiceChannel.cs (2)
1541if (this.InstanceContext != null && this.InstanceContext.State != CommunicationState.Closed && this.InstanceContext.State != CommunicationState.Faulted) 2685if (!this.isTimerCancelled && binder.Channel.State != CommunicationState.Faulted && binder.Channel.State != CommunicationState.Closed)
System\ServiceModel\Channels\SharedConnectionListener.cs (5)
94this.state == CommunicationState.Closed) 139if (this.state == CommunicationState.Closed) 147this.state = CommunicationState.Closed; 165if (this.state == CommunicationState.Closed) 217this.state == CommunicationState.Closed)
System\ServiceModel\Dispatcher\ChannelDispatcherCollection.cs (2)
43if (this.service.State == CommunicationState.Closed) 64if (this.service.State == CommunicationState.Closed)
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
434if (channel.State != CommunicationState.Closing && channel.State != CommunicationState.Closed)
System\ServiceModel\InstanceContext.cs (2)
198if (this.State == CommunicationState.Closed) 347|| state == CommunicationState.Closed
System\ServiceModel\Security\SecuritySessionClientSettings.cs (17)
1370if (this.State != CommunicationState.Closed) 1448if (this.State != CommunicationState.Closed) 1650if (this.State == CommunicationState.Closed) 1701if (this.channel.State != CommunicationState.Closed) 1735if (self.channel.State != CommunicationState.Closed) 1777if (channel.State != CommunicationState.Closed) 1804if (self.channel.State != CommunicationState.Closed) 2094if (this.sessionChannel.State != CommunicationState.Closed) 2128if (thisResult.sessionChannel.State != CommunicationState.Closed) 2171if (this.sessionChannel.State != CommunicationState.Closed) 2201if (thisResult.sessionChannel.State != CommunicationState.Closed) 2349if (this.sessionChannel.State == CommunicationState.Closed) 2396if (self.sessionChannel.State == CommunicationState.Closed) 3300if (this.State == CommunicationState.Closed || this.State == CommunicationState.Faulted || this.IsInputClosed) 3505if (this.channel.State != CommunicationState.Closed) 3540if (this.channel.State != CommunicationState.Closed) 3585if (this.channel.State != CommunicationState.Closed)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (28)
802if (this.communicationObject.State == CommunicationState.Closed 820if (this.communicationObject.State != CommunicationState.Closed 1232if (this.State == CommunicationState.Closed || this.State == CommunicationState.Closing) 1308if (this.State != CommunicationState.Closed) 2330if (this.channel.State != CommunicationState.Closed) 2373if (self.channel.State != CommunicationState.Closed) 2435if (channel.State != CommunicationState.Closed) 2459if (self.channel.State != CommunicationState.Closed) 2955if (this.State != CommunicationState.Closed) 3041if (this.State != CommunicationState.Closed) 3184if (this.sessionChannel.State != CommunicationState.Closed) 3228if (thisResult.sessionChannel.State != CommunicationState.Closed) 3277if (this.sessionChannel.State != CommunicationState.Closed) 3319if (thisResult.sessionChannel.State != CommunicationState.Closed) 3378if (this.sessionChannel.State != CommunicationState.Closed) 3417if (thisResult.sessionChannel.State != CommunicationState.Closed) 3742if (this.State != CommunicationState.Closed) throw; 3756if (this.State == CommunicationState.Closed) 3829if (this.State != CommunicationState.Closed) 3993if (this.State != CommunicationState.Closed) throw; 4168if (sessionChannel.State != CommunicationState.Closed) throw; 4196if (thisResult.sessionChannel.State != CommunicationState.Closed) 4241if (this.sessionChannel.State != CommunicationState.Closed) 4282if (thisResult.sessionChannel.State != CommunicationState.Closed) 4349if (this.sessionChannel.State != CommunicationState.Closed) 4386if (thisResult.sessionChannel.State != CommunicationState.Closed) 4442if (this.sessionChannel.State != CommunicationState.Closed) throw; 4484if (thisResult.sessionChannel.State != CommunicationState.Closed)
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
2930if (this.channelFactory.State != CommunicationState.Closed && 2953if (this.channelFactory.State != CommunicationState.Closed &&
System.WorkflowServices (1)
System\ServiceModel\Dispatcher\DurableInstanceProvider.cs (1)
51else if (instanceContext.State == CommunicationState.Closed)