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