65 references to Closing
System.ServiceModel (63)
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)
86case CommunicationState.Closing: 123case CommunicationState.Closing:
System\ServiceModel\Channels\CommunicationObject.cs (16)
111this.state = CommunicationState.Closing; 167this.state = CommunicationState.Closing; 211case CommunicationState.Closing: 286this.state = CommunicationState.Closing; 337case CommunicationState.Closing: 442case CommunicationState.Closing: 473if (this.state == CommunicationState.Closed || this.state == CommunicationState.Closing) 521Fx.Assert(currentState == CommunicationState.Closing || currentState == CommunicationState.Closed || currentState == CommunicationState.Faulted, 547case CommunicationState.Closing: 783case CommunicationState.Closing: 832case CommunicationState.Closing: 866case CommunicationState.Closing: 895case CommunicationState.Closing: 924case CommunicationState.Closing: 953case CommunicationState.Closing: 988case CommunicationState.Closing:
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\OneWayChannelListener.cs (1)
1056if (this.State == CommunicationState.Closing || this.State == CommunicationState.Closed)
System\ServiceModel\Channels\ReliableChannelBinder.cs (6)
177this.state = CommunicationState.Closing; 310if ((this.state == CommunicationState.Closing) 318this.state = CommunicationState.Closing; 337else if ((channelState == CommunicationState.Closing) 590else if ((this.state == CommunicationState.Closing) 968if ((this.state != CommunicationState.Closing)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (6)
396else if (this.State == CommunicationState.Closing) 726if (this.State == CommunicationState.Closing 923this.State == CommunicationState.Closing) 940this.State == CommunicationState.Closing) 1544if ((this.State == CommunicationState.Opened || this.State == CommunicationState.Closing) && 1624if ((channel.State == CommunicationState.Opened || channel.State == CommunicationState.Closing) &&
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (3)
513if (this.State == CommunicationState.Closing 668else if (this.State == CommunicationState.Closing) 1076else if (this.State == CommunicationState.Closing)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (2)
266this.State == CommunicationState.Closing) 283this.State == CommunicationState.Closing)
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (3)
591bool canReply = this.connection.AllAdded && (this.State == CommunicationState.Closing); 597if (this.State == CommunicationState.Closing) 1085else if ((this.State == CommunicationState.Closing) && !isLastOnly)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (2)
288this.State == CommunicationState.Closing) 305this.State == CommunicationState.Closing)
System\ServiceModel\Channels\RequestContextBase.cs (3)
106state = CommunicationState.Closing; 151state = CommunicationState.Closing; 200if (state == CommunicationState.Closed || state == CommunicationState.Closing)
System\ServiceModel\Channels\SecurityChannelListener.cs (4)
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)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (3)
266this.State != CommunicationState.Closing && 546this.State != CommunicationState.Closing && 576this.State == CommunicationState.Closing ||
System\ServiceModel\Channels\SharedConnectionListener.cs (4)
93if (this.state == CommunicationState.Closing || 103this.state = CommunicationState.Closing; 144Fx.Assert(this.state == CommunicationState.Closing, 216if (this.state == CommunicationState.Closing ||
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
434if (channel.State != CommunicationState.Closing && channel.State != CommunicationState.Closed)
System\ServiceModel\InstanceContext.cs (1)
346if (state == CommunicationState.Closing
System\ServiceModel\Security\SecuritySessionServerSettings.cs (2)
821&& this.communicationObject.State != CommunicationState.Closing 1232if (this.State == CommunicationState.Closed || this.State == CommunicationState.Closing)
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
2931this.channelFactory.State != CommunicationState.Closing) 2954this.channelFactory.State != CommunicationState.Closing)