139 references to CommunicationState
dotnet-svcutil-lib (139)
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (8)
36if (this.State == CommunicationState.Created || this.State == CommunicationState.Opening) 110if (this.State != CommunicationState.Opened) 114if (this.State != CommunicationState.Opened) 176Fx.Assert(this.State == CommunicationState.Created || this.State == CommunicationState.Opening, ""); 185Fx.Assert(this.State == CommunicationState.Created || this.State == CommunicationState.Opening, "");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelFactoryBase.cs (1)
152if (this.State != CommunicationState.Opened)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelParameterCollection.cs (14)
75CommunicationState state = channel.State; 80case CommunicationState.Created: 83case CommunicationState.Opening: 84case CommunicationState.Opened: 85case CommunicationState.Closing: 86case CommunicationState.Closed: 87case CommunicationState.Faulted: 110CommunicationState state = channel.State; 115case CommunicationState.Created: 120case CommunicationState.Opening: 121case CommunicationState.Opened: 122case CommunicationState.Closing: 123case CommunicationState.Closed: 124case CommunicationState.Faulted:
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CommunicationObject.cs (74)
27private CommunicationState _state; 38_state = CommunicationState.Created; 54get { return _state == CommunicationState.Closed; } 57public CommunicationState State 90if (_aborted || _state == CommunicationState.Closed) 94_state = CommunicationState.Closing; 159CommunicationState originalState; 163if (originalState != CommunicationState.Closed) 164_state = CommunicationState.Closing; 171case CommunicationState.Created: 172case CommunicationState.Opening: 173case CommunicationState.Faulted: 175if (originalState == CommunicationState.Faulted) 181case CommunicationState.Opened: 210case CommunicationState.Closing: 211case CommunicationState.Closed: 263case CommunicationState.Created: 266case CommunicationState.Opening: 269case CommunicationState.Opened: 272case CommunicationState.Closing: 275case CommunicationState.Closed: 278case CommunicationState.Faulted: 300if (_state == CommunicationState.Closed || _state == CommunicationState.Closing) 303if (_state == CommunicationState.Faulted) 305_state = CommunicationState.Faulted; 336_state = CommunicationState.Opening; 375_state = CommunicationState.Closed; 457if (_aborted || _state != CommunicationState.Opening) 459_state = CommunicationState.Opened; 508case CommunicationState.Created: 511case CommunicationState.Opening: 514case CommunicationState.Opened: 517case CommunicationState.Closing: 520case CommunicationState.Closed: 523case CommunicationState.Faulted: 557case CommunicationState.Created: 560case CommunicationState.Opening: 563case CommunicationState.Opened: 566case CommunicationState.Closing: 569case CommunicationState.Closed: 572case CommunicationState.Faulted: 591case CommunicationState.Created: 594case CommunicationState.Opening: 597case CommunicationState.Opened: 600case CommunicationState.Closing: 603case CommunicationState.Closed: 606case CommunicationState.Faulted: 620case CommunicationState.Created: 623case CommunicationState.Opening: 626case CommunicationState.Opened: 629case CommunicationState.Closing: 632case CommunicationState.Closed: 635case CommunicationState.Faulted: 649case CommunicationState.Created: 652case CommunicationState.Opening: 655case CommunicationState.Opened: 658case CommunicationState.Closing: 661case CommunicationState.Closed: 664case CommunicationState.Faulted: 678case CommunicationState.Created: 681case CommunicationState.Opening: 684case CommunicationState.Opened: 687case CommunicationState.Closing: 690case CommunicationState.Closed: 693case CommunicationState.Faulted: 703if (_state == CommunicationState.Created || _state == CommunicationState.Opening) 713case CommunicationState.Created: 716case CommunicationState.Opening: 719case CommunicationState.Opened: 722case CommunicationState.Closing: 725case CommunicationState.Closed: 728case CommunicationState.Faulted:
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingChannels.cs (1)
392if (this.State != CommunicationState.Opening)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (2)
708if (State == CommunicationState.Created) 906if (_channel.State != CommunicationState.Opened)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestContextBase.cs (12)
17private CommunicationState _state = CommunicationState.Opened; 34_state = CommunicationState.Opened; 102if (_state == CommunicationState.Closed) 105_state = CommunicationState.Closing; 116_state = CommunicationState.Closed; 135if (_state != CommunicationState.Opened) 143_state = CommunicationState.Closing; 157_state = CommunicationState.Closed; 192if (_state == CommunicationState.Closed || _state == CommunicationState.Closing) 212if ((_state != CommunicationState.Opened) || _replyInitiated)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (6)
72_openBinder = (binder.Channel.State == CommunicationState.Created); 564if ((State == CommunicationState.Created) && !operation.IsInitiating) 834if (State == CommunicationState.Opened) 1131if (State == CommunicationState.Opening) 2445if (!_isTimerCancelled && _binder.Channel.State != CommunicationState.Faulted && _binder.Channel.State != CommunicationState.Closed)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
528CommunicationState ICommunicationObject.State
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (2)
125public CommunicationState State 661CommunicationState ICommunicationObject.State
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelDispatcher.cs (2)
367if (this.State == CommunicationState.Opened) 378if (this.State == CommunicationState.Opened)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (3)
112if (_listener.State == CommunicationState.Opened) 136get { return _binder.Channel.State == CommunicationState.Opened; } 173if (_binder.Channel.State == CommunicationState.Created)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (4)
306if (_channel.State == CommunicationState.Faulted) 416if (_channel.State == CommunicationState.Faulted) 1078public CommunicationState State 1245if (!_closeState.TryBackgroundClose() || this.State != CommunicationState.Opened)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\InstanceBehavior.cs (2)
61if (rpc.InstanceContext.State == CommunicationState.Created) 65if (rpc.InstanceContext.State == CommunicationState.Created)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ListenerHandler.cs (3)
130if (_acceptedNull || (listener.State == CommunicationState.Faulted)) 165if (channel.State != CommunicationState.Closing && channel.State != CommunicationState.Closed)
FrameworkFork\System.ServiceModel\System\ServiceModel\ICommunicationObject.cs (1)
11CommunicationState State { get; }
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
387return this.CommunicationObject.State != CommunicationState.Created;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (2)
196public CommunicationState State 371public CommunicationState State