550 references to CommunicationState
System.ServiceModel (506)
System\ServiceModel\Administration\ServiceInfo.cs (1)
95
public
CommunicationState
State
System\ServiceModel\ChannelFactory.cs (8)
39
if (this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening)
113
if (this.State !=
CommunicationState
.Opened)
117
if (this.State !=
CommunicationState
.Opened)
205
Fx.Assert(this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening, "");
214
Fx.Assert(this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening, "");
System\ServiceModel\Channels\ChannelDemuxer.cs (6)
302
if (this.innerChannel.State ==
CommunicationState
.Opened)
516
if (listener.State ==
CommunicationState
.Closed || listener.State ==
CommunicationState
.Closing)
665
if (this.innerChannel.State !=
CommunicationState
.Opened)
1993
if (listener.State ==
CommunicationState
.Closed || listener.State ==
CommunicationState
.Closing)
System\ServiceModel\Channels\ChannelFactoryBase.cs (1)
147
if (this.State !=
CommunicationState
.Opened)
System\ServiceModel\Channels\ChannelParameterCollection.cs (14)
76
CommunicationState
state = channel.State;
81
case
CommunicationState
.Created:
84
case
CommunicationState
.Opening:
85
case
CommunicationState
.Opened:
86
case
CommunicationState
.Closing:
87
case
CommunicationState
.Closed:
88
case
CommunicationState
.Faulted:
111
CommunicationState
state = channel.State;
116
case
CommunicationState
.Created:
121
case
CommunicationState
.Opening:
122
case
CommunicationState
.Opened:
123
case
CommunicationState
.Closing:
124
case
CommunicationState
.Closed:
125
case
CommunicationState
.Faulted:
System\ServiceModel\Channels\ChannelReliableSession.cs (6)
165
if ((this.binder.State ==
CommunicationState
.Opened)
256
this.channel.State ==
CommunicationState
.Faulted ||
257
this.channel.State ==
CommunicationState
.Closed)
288
this.channel.State ==
CommunicationState
.Faulted ||
289
this.channel.State ==
CommunicationState
.Closed)
330
if ((this.binder.State ==
CommunicationState
.Opened)
System\ServiceModel\Channels\ChannelTracker.cs (1)
34
if (this.State !=
CommunicationState
.Opened)
System\ServiceModel\Channels\ClientContextProtocol.cs (3)
56
if (this.owner.State !=
CommunicationState
.Created)
217
(this.owner.State ==
CommunicationState
.Created))
222
(this.owner.State ==
CommunicationState
.Created))
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (10)
108
CommunicationState
currentState = this.State;
111
if ((currentState ==
CommunicationState
.Created)
112
|| (currentState ==
CommunicationState
.Opening)
113
|| (currentState ==
CommunicationState
.Opened))
297
CommunicationState
currentState = this.State;
300
if ((currentState ==
CommunicationState
.Created)
301
|| (currentState ==
CommunicationState
.Opening)
302
|| (currentState ==
CommunicationState
.Opened))
536
if (this.State ==
CommunicationState
.Created)
541
if (this.State ==
CommunicationState
.Opening)
System\ServiceModel\Channels\CommunicationObject.cs (93)
33
CommunicationState
state;
44
this.state =
CommunicationState
.Created;
51
this.state =
CommunicationState
.Created;
67
get { return this.state ==
CommunicationState
.Closed; }
70
public
CommunicationState
State
103
if (this.aborted || this.state ==
CommunicationState
.Closed)
111
this.state =
CommunicationState
.Closing;
158
CommunicationState
originalState;
166
if (originalState !=
CommunicationState
.Closed)
167
this.state =
CommunicationState
.Closing;
174
case
CommunicationState
.Created:
175
case
CommunicationState
.Opening:
176
case
CommunicationState
.Faulted:
178
if (originalState ==
CommunicationState
.Faulted)
184
case
CommunicationState
.Opened:
211
case
CommunicationState
.Closing:
212
case
CommunicationState
.Closed:
235
this.state =
CommunicationState
.Opening;
277
CommunicationState
originalState;
285
if (originalState !=
CommunicationState
.Closed)
286
this.state =
CommunicationState
.Closing;
293
case
CommunicationState
.Created:
294
case
CommunicationState
.Opening:
295
case
CommunicationState
.Faulted:
297
if (originalState ==
CommunicationState
.Faulted)
303
case
CommunicationState
.Opened:
337
case
CommunicationState
.Closing:
338
case
CommunicationState
.Closed:
433
case
CommunicationState
.Created:
436
case
CommunicationState
.Opening:
439
case
CommunicationState
.Opened:
442
case
CommunicationState
.Closing:
445
case
CommunicationState
.Closed:
448
case
CommunicationState
.Faulted:
473
if (this.state ==
CommunicationState
.Closed || this.state ==
CommunicationState
.Closing)
476
if (this.state ==
CommunicationState
.Faulted)
482
this.state =
CommunicationState
.Faulted;
519
CommunicationState
currentState = this.state;
521
Fx.Assert(currentState ==
CommunicationState
.Closing || currentState ==
CommunicationState
.Closed || currentState ==
CommunicationState
.Faulted,
547
case
CommunicationState
.Closing:
548
case
CommunicationState
.Closed:
551
case
CommunicationState
.Faulted:
579
this.state =
CommunicationState
.Opening;
623
this.state =
CommunicationState
.Closed;
717
if (this.aborted || this.state !=
CommunicationState
.Opening)
719
this.state =
CommunicationState
.Opened;
774
case
CommunicationState
.Created:
777
case
CommunicationState
.Opening:
780
case
CommunicationState
.Opened:
783
case
CommunicationState
.Closing:
786
case
CommunicationState
.Closed:
789
case
CommunicationState
.Faulted:
823
case
CommunicationState
.Created:
826
case
CommunicationState
.Opening:
829
case
CommunicationState
.Opened:
832
case
CommunicationState
.Closing:
835
case
CommunicationState
.Closed:
838
case
CommunicationState
.Faulted:
857
case
CommunicationState
.Created:
860
case
CommunicationState
.Opening:
863
case
CommunicationState
.Opened:
866
case
CommunicationState
.Closing:
869
case
CommunicationState
.Closed:
872
case
CommunicationState
.Faulted:
886
case
CommunicationState
.Created:
889
case
CommunicationState
.Opening:
892
case
CommunicationState
.Opened:
895
case
CommunicationState
.Closing:
898
case
CommunicationState
.Closed:
901
case
CommunicationState
.Faulted:
915
case
CommunicationState
.Created:
918
case
CommunicationState
.Opening:
921
case
CommunicationState
.Opened:
924
case
CommunicationState
.Closing:
927
case
CommunicationState
.Closed:
930
case
CommunicationState
.Faulted:
944
case
CommunicationState
.Created:
947
case
CommunicationState
.Opening:
950
case
CommunicationState
.Opened:
953
case
CommunicationState
.Closing:
956
case
CommunicationState
.Closed:
959
case
CommunicationState
.Faulted:
969
if (this.state ==
CommunicationState
.Created || this.state ==
CommunicationState
.Opening)
979
case
CommunicationState
.Created:
982
case
CommunicationState
.Opening:
985
case
CommunicationState
.Opened:
988
case
CommunicationState
.Closing:
991
case
CommunicationState
.Closed:
994
case
CommunicationState
.Faulted:
System\ServiceModel\Channels\ConnectionOrientedTransportChannelListener.cs (1)
454
if (this.State !=
CommunicationState
.Opened)
System\ServiceModel\Channels\DatagramAdapter.cs (7)
130
while (this.listener.State ==
CommunicationState
.Opened)
203
if (this.State ==
CommunicationState
.Opened)
442
if (this.channel.State ==
CommunicationState
.Opened)
1168
if (channel.State ==
CommunicationState
.Created)
1232
if (channel.State ==
CommunicationState
.Created)
1399
if (channel.State ==
CommunicationState
.Created)
1466
if (channel.State ==
CommunicationState
.Created)
System\ServiceModel\Channels\FramingChannels.cs (1)
360
if (this.State !=
CommunicationState
.Opening)
System\ServiceModel\Channels\HttpChannelFactory.cs (3)
948
if (this.State ==
CommunicationState
.Created)
1220
if (channel.State !=
CommunicationState
.Opened)
1745
if (channel.State !=
CommunicationState
.Opened)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (1)
213
if (this.innerInputChannel.State ==
CommunicationState
.Opened)
System\ServiceModel\Channels\IReliableChannelBinder.cs (1)
18
CommunicationState
State { get; }
System\ServiceModel\Channels\MsmqBindingMonitor.cs (7)
19
CommunicationState
currentState =
CommunicationState
.Created;
78
if (this.currentState !=
CommunicationState
.Created)
83
this.currentState =
CommunicationState
.Opened;
92
if (this.currentState !=
CommunicationState
.Opened)
97
this.currentState =
CommunicationState
.Closed;
210
if (this.currentState !=
CommunicationState
.Opened)
System\ServiceModel\Channels\MsmqInputChannelBase.cs (2)
179
else if (
CommunicationState
.Opened == this.State)
248
else if (
CommunicationState
.Opened == this.State)
System\ServiceModel\Channels\MsmqInputChannelListenerBase.cs (2)
27
if (!this.IsDisposed && (
CommunicationState
.Opened == this.State ||
CommunicationState
.Opening == this.State))
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (5)
113
if (
CommunicationState
.Closed == this.State ||
CommunicationState
.Closing == this.State)
139
if (
CommunicationState
.Closed == this.State ||
CommunicationState
.Closing == this.State)
540
if (this.channel.State ==
CommunicationState
.Opened && this.channel.InternalPendingItems > 0)
System\ServiceModel\Channels\MsmqInputSessionChannelListener.cs (2)
95
if (
CommunicationState
.Opened == this.State)
170
if (
CommunicationState
.Opened == this.State)
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
286
if (this.channel.State !=
CommunicationState
.Closed)
System\ServiceModel\Channels\OneWayChannelFactory.cs (1)
642
if (pooledChannel.State ==
CommunicationState
.Opened)
System\ServiceModel\Channels\OneWayChannelListener.cs (9)
677
&& (this.innerChannelListener.State ==
CommunicationState
.Opened);
863
bool canDispatchOnThisThread = (innerChannelListener.State !=
CommunicationState
.Opened);
1056
if (this.State ==
CommunicationState
.Closing || this.State ==
CommunicationState
.Closed)
1174
if (this.State !=
CommunicationState
.Opened)
1262
if (channel.State !=
CommunicationState
.Opened)
1371
startLoop = (this.channel.State ==
CommunicationState
.Opened);
1380
startLoop = (this.channel.State ==
CommunicationState
.Opened);
1460
if (this.channel.State ==
CommunicationState
.Opened)
System\ServiceModel\Channels\PeerChannelListener.cs (1)
148
if (this.State <
CommunicationState
.Closed && this.peerNode != null)
System\ServiceModel\Channels\PeerDuplexChannel.cs (2)
62
Fx.Assert(this.State <
CommunicationState
.Opened, "Can not change the dispatcher on DuplexChannel after Open.");
102
if (this.State <
CommunicationState
.Closed)
System\ServiceModel\Channels\PeerInputChannel.cs (1)
58
if (this.State <
CommunicationState
.Closed)
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
1588
if (channel.State ==
CommunicationState
.Opened)
System\ServiceModel\Channels\PeerOutputChannel.cs (1)
60
if (this.State <
CommunicationState
.Closed)
System\ServiceModel\Channels\ReliableChannelBinder.cs (44)
36
CommunicationState
state =
CommunicationState
.Created;
128
public
CommunicationState
State
172
if (this.state ==
CommunicationState
.Closed)
177
this.state =
CommunicationState
.Closing;
310
if ((this.state ==
CommunicationState
.Closing)
311
|| (this.state ==
CommunicationState
.Closed))
316
if (this.state ==
CommunicationState
.Opened)
318
this.state =
CommunicationState
.Closing;
329
CommunicationState
channelState = channel.State;
331
if ((channelState ==
CommunicationState
.Created)
332
|| (channelState ==
CommunicationState
.Opening)
333
|| (channelState ==
CommunicationState
.Faulted))
337
else if ((channelState ==
CommunicationState
.Closing)
338
|| (channelState ==
CommunicationState
.Closed))
540
if (this.state ==
CommunicationState
.Created)
545
if ((this.state ==
CommunicationState
.Faulted)
546
|| (this.state ==
CommunicationState
.Closed))
551
this.state =
CommunicationState
.Faulted;
586
if (this.state ==
CommunicationState
.Faulted)
590
else if ((this.state ==
CommunicationState
.Closing)
591
|| (this.state ==
CommunicationState
.Closed))
744
if (this.state ==
CommunicationState
.Opening)
746
this.state =
CommunicationState
.Opened;
755
if (this.state !=
CommunicationState
.Created)
759
if ((this.state ==
CommunicationState
.Opening)
760
|| (this.state ==
CommunicationState
.Opened))
783
this.state =
CommunicationState
.Opening;
925
if (this.State ==
CommunicationState
.Created)
930
if (this.State ==
CommunicationState
.Opening)
935
if (this.State ==
CommunicationState
.Opened)
968
if ((this.state !=
CommunicationState
.Closing)
969
&& (this.state !=
CommunicationState
.Closed)
970
&& (this.state !=
CommunicationState
.Faulted))
975
this.state =
CommunicationState
.Closed;
1534
&& (this.currentChannel.State ==
CommunicationState
.Created))
1735
if (this.currentChannel.State !=
CommunicationState
.Faulted)
1804
if (this.currentChannel.State ==
CommunicationState
.Faulted)
1844
if (channel.State ==
CommunicationState
.Opened)
3798
if (lastIteration || channel.State !=
CommunicationState
.Opened)
3864
if (lastIteration || channel.State !=
CommunicationState
.Opened)
3980
if (this.lastReceive || this.channel.State !=
CommunicationState
.Opened)
4015
if (this.lastReceive || this.channel.State !=
CommunicationState
.Opened)
4163
if (this.lastReceive || this.channel.State !=
CommunicationState
.Opened)
System\ServiceModel\Channels\ReliableChannelListener.cs (6)
77
get { return this.State ==
CommunicationState
.Opened; }
652
(o.State ==
CommunicationState
.Opened))
724
&& (this.typedListener.State ==
CommunicationState
.Opened))
730
else if (this.typedListener.State ==
CommunicationState
.Faulted)
860
while (this.typedListener.State ==
CommunicationState
.Opened)
904
else if (this.typedListener.State ==
CommunicationState
.Faulted)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (20)
354
if (this.Aborted || this.State ==
CommunicationState
.Faulted)
396
else if (this.State ==
CommunicationState
.Closing)
726
if (this.State ==
CommunicationState
.Closing
727
|| this.State ==
CommunicationState
.Closed
728
|| this.State ==
CommunicationState
.Faulted)
757
if ((this.State !=
CommunicationState
.Opened)
921
if (this.State ==
CommunicationState
.Opening ||
922
this.State ==
CommunicationState
.Opened ||
923
this.State ==
CommunicationState
.Closing)
938
if (this.State ==
CommunicationState
.Opening ||
939
this.State ==
CommunicationState
.Opened ||
940
this.State ==
CommunicationState
.Closing)
983
if ((this.State !=
CommunicationState
.Opened)
1229
if (!terminated && (this.Binder.State ==
CommunicationState
.Opened))
1424
if (this.State ==
CommunicationState
.Opened)
1426
else if (this.State ==
CommunicationState
.Faulted)
1544
if ((this.State ==
CommunicationState
.Opened || this.State ==
CommunicationState
.Closing) &&
1624
if ((channel.State ==
CommunicationState
.Opened || channel.State ==
CommunicationState
.Closing) &&
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (9)
484
if (!terminated && (this.Binder.State ==
CommunicationState
.Opened))
513
if (this.State ==
CommunicationState
.Closing
514
|| this.State ==
CommunicationState
.Closed
515
|| this.State ==
CommunicationState
.Faulted)
627
if (this.Aborted || this.State ==
CommunicationState
.Faulted)
668
else if (this.State ==
CommunicationState
.Closing)
943
if (!terminated && (this.Binder.State ==
CommunicationState
.Opened))
1044
if (this.Aborted || (this.State ==
CommunicationState
.Faulted))
1076
else if (this.State ==
CommunicationState
.Closing)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
1556
|| (this.binder.State !=
CommunicationState
.Opened)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (8)
264
if (this.State ==
CommunicationState
.Opening ||
265
this.State ==
CommunicationState
.Opened ||
266
this.State ==
CommunicationState
.Closing)
281
if (this.State ==
CommunicationState
.Opening ||
282
this.State ==
CommunicationState
.Opened ||
283
this.State ==
CommunicationState
.Closing)
735
if (this.State ==
CommunicationState
.Faulted)
1071
if (!this.Connection.Closed && (this.Binder.State ==
CommunicationState
.Opened))
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (12)
255
if (this.State ==
CommunicationState
.Faulted || this.Aborted)
271
if (this.State ==
CommunicationState
.Faulted || this.Aborted)
389
if (!terminated && (this.Binder.State ==
CommunicationState
.Opened))
580
if (this.Aborted || this.State ==
CommunicationState
.Faulted || this.State ==
CommunicationState
.Closed)
591
bool canReply = this.connection.AllAdded && (this.State ==
CommunicationState
.Closing);
597
if (this.State ==
CommunicationState
.Closing)
649
if (this.Aborted || this.State ==
CommunicationState
.Faulted || this.State ==
CommunicationState
.Closed)
1047
if (this.Aborted || this.State ==
CommunicationState
.Faulted || this.State ==
CommunicationState
.Closed)
1085
else if ((this.State ==
CommunicationState
.Closing) && !isLastOnly)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (7)
187
if (this.State ==
CommunicationState
.Faulted)
286
if (this.State ==
CommunicationState
.Opening ||
287
this.State ==
CommunicationState
.Opened ||
288
this.State ==
CommunicationState
.Closing)
303
if (this.State ==
CommunicationState
.Opening ||
304
this.State ==
CommunicationState
.Opened ||
305
this.State ==
CommunicationState
.Closing)
System\ServiceModel\Channels\RequestContextBase.cs (12)
17
CommunicationState
state =
CommunicationState
.Opened;
34
this.state =
CommunicationState
.Opened;
103
if (state ==
CommunicationState
.Closed)
106
state =
CommunicationState
.Closing;
123
state =
CommunicationState
.Closed;
143
if (state !=
CommunicationState
.Opened)
151
state =
CommunicationState
.Closing;
165
state =
CommunicationState
.Closed;
200
if (state ==
CommunicationState
.Closed || state ==
CommunicationState
.Closing)
220
if ((this.state !=
CommunicationState
.Opened) || this.replyInitiated)
System\ServiceModel\Channels\SecurityChannelListener.cs (16)
144
if (this.State ==
CommunicationState
.Opened)
352
if (this.State ==
CommunicationState
.Closing && this.State ==
CommunicationState
.Closed)
600
if (this.securityListener.State ==
CommunicationState
.Closed || this.securityListener.State ==
CommunicationState
.Closing)
685
if (this.State ==
CommunicationState
.Closed || this.State ==
CommunicationState
.Closing)
707
if (this.State ==
CommunicationState
.Closed || this.State ==
CommunicationState
.Closing)
963
if (this.State ==
CommunicationState
.Closed || this.State ==
CommunicationState
.Faulted)
1140
if (this.State ==
CommunicationState
.Closed || this.State ==
CommunicationState
.Faulted)
1331
if (this.State ==
CommunicationState
.Closed || this.State ==
CommunicationState
.Faulted)
1556
if (this.channel.State ==
CommunicationState
.Closed)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (14)
265
if (this.State !=
CommunicationState
.Faulted &&
266
this.State !=
CommunicationState
.Closing &&
267
this.State !=
CommunicationState
.Closed)
319
if (this.listener.State ==
CommunicationState
.Faulted)
371
&& (this.listener.State ==
CommunicationState
.Opened))
375
else if (this.listener.State ==
CommunicationState
.Faulted)
487
while (this.listener.State ==
CommunicationState
.Opened)
530
else if (this.listener.State ==
CommunicationState
.Faulted)
545
if (this.State !=
CommunicationState
.Faulted &&
546
this.State !=
CommunicationState
.Closing &&
547
this.State !=
CommunicationState
.Closed)
575
this.State ==
CommunicationState
.Faulted ||
576
this.State ==
CommunicationState
.Closing ||
577
this.State ==
CommunicationState
.Closed)
System\ServiceModel\Channels\ServiceChannel.cs (9)
80
this.openBinder = (binder.Channel.State ==
CommunicationState
.Created);
600
if ((this.State ==
CommunicationState
.Created) && !operation.IsInitiating)
892
if (this.State ==
CommunicationState
.Opened)
1214
if (this.State ==
CommunicationState
.Opening)
1541
if (this.InstanceContext != null && this.InstanceContext.State !=
CommunicationState
.Closed && this.InstanceContext.State !=
CommunicationState
.Faulted)
1567
if (this.State ==
CommunicationState
.Opening)
2685
if (!this.isTimerCancelled && binder.Channel.State !=
CommunicationState
.Faulted && binder.Channel.State !=
CommunicationState
.Closed)
System\ServiceModel\Channels\SharedConnectionListener.cs (21)
37
CommunicationState
state;
51
this.state =
CommunicationState
.Created;
93
if (this.state ==
CommunicationState
.Closing ||
94
this.state ==
CommunicationState
.Closed)
98
else if (this.state ==
CommunicationState
.Opening && !aborting)
103
this.state =
CommunicationState
.Closing;
139
if (this.state ==
CommunicationState
.Closed)
144
Fx.Assert(this.state ==
CommunicationState
.Closing,
147
this.state =
CommunicationState
.Closed;
165
if (this.state ==
CommunicationState
.Closed)
196
if (this.state !=
CommunicationState
.Opening &&
197
this.state !=
CommunicationState
.Opened)
216
if (this.state ==
CommunicationState
.Closing ||
217
this.state ==
CommunicationState
.Closed)
226
this.state =
CommunicationState
.Opening;
231
this.state =
CommunicationState
.Faulted;
259
if (this.state ==
CommunicationState
.Created || this.state ==
CommunicationState
.Opening)
261
this.state =
CommunicationState
.Opened;
272
while (this.state ==
CommunicationState
.Opening)
291
if (this.state ==
CommunicationState
.Opening)
System\ServiceModel\Channels\TransportReplyChannelAcceptor.cs (1)
107
if (this.State !=
CommunicationState
.Opened)
System\ServiceModel\ClientBase.cs (5)
442
public
CommunicationState
State
460
return
CommunicationState
.Created;
831
if (factoryRef.ChannelFactory.State !=
CommunicationState
.Opened)
914
Fx.Assert(this.channelFactoryRef.ChannelFactory.State ==
CommunicationState
.Opened,
1253
CommunicationState
ICommunicationObject.State
System\ServiceModel\Description\ServiceCredentials.cs (2)
236
if (!(serviceHost.State ==
CommunicationState
.Created || serviceHost.State ==
CommunicationState
.Opening))
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (2)
576
if (this.State ==
CommunicationState
.Opened)
592
if (this.State ==
CommunicationState
.Opened)
System\ServiceModel\Dispatcher\ChannelDispatcherCollection.cs (2)
43
if (this.service.State ==
CommunicationState
.Closed)
64
if (this.service.State ==
CommunicationState
.Closed)
System\ServiceModel\Dispatcher\ChannelHandler.cs (3)
177
if (this.listener.State ==
CommunicationState
.Opened)
245
get { return this.binder.Channel.State ==
CommunicationState
.Opened; }
305
if (this.binder.Channel.State ==
CommunicationState
.Created)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (4)
316
if (this.channel.State ==
CommunicationState
.Faulted)
426
if (this.channel.State ==
CommunicationState
.Faulted)
1144
public
CommunicationState
State
1309
if (!this.closeState.TryBackgroundClose() || this.State !=
CommunicationState
.Opened)
System\ServiceModel\Dispatcher\InstanceBehavior.cs (4)
116
if (context.State ==
CommunicationState
.Opened)
126
if (context.State ==
CommunicationState
.Opened)
192
if (rpc.InstanceContext.State ==
CommunicationState
.Created)
196
if (rpc.InstanceContext.State ==
CommunicationState
.Created)
System\ServiceModel\Dispatcher\InstanceContextManager.cs (1)
85
if (instance.State ==
CommunicationState
.Opened)
System\ServiceModel\Dispatcher\ListenerHandler.cs (5)
165
if (this.acceptedNull || (listener.State ==
CommunicationState
.Faulted))
187
if (this.acceptedNull || (listener.State ==
CommunicationState
.Faulted))
217
if (this.acceptedNull || (listener.State ==
CommunicationState
.Faulted))
434
if (channel.State !=
CommunicationState
.Closing && channel.State !=
CommunicationState
.Closed)
System\ServiceModel\Dispatcher\ServiceThrottle.cs (1)
407
if (this.host.State ==
CommunicationState
.Opened)
System\ServiceModel\Dispatcher\SingletonInstanceContextProvider.cs (2)
39
else if (instanceContext.State !=
CommunicationState
.Opened)
46
if (instanceContext.State !=
CommunicationState
.Opened)
System\ServiceModel\ICommunicationObject.cs (1)
9
CommunicationState
State { get; }
System\ServiceModel\InstanceContext.cs (9)
198
if (this.State ==
CommunicationState
.Closed)
345
CommunicationState
state = channel.State;
346
if (state ==
CommunicationState
.Closing
347
|| state ==
CommunicationState
.Closed
348
|| state ==
CommunicationState
.Faulted)
358
if (!(this.State !=
CommunicationState
.Created && this.State !=
CommunicationState
.Opening))
363
if (this.State !=
CommunicationState
.Opened)
374
if (this.State ==
CommunicationState
.Opened)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (2)
252
CommunicationState
state = this.CommunicationObject.State;
253
if (state ==
CommunicationState
.Created)
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (4)
671
if (this.isTimerCancelled || (this.CommunicationObject.State !=
CommunicationState
.Opened && this.CommunicationObject.State !=
CommunicationState
.Opening))
697
if (this.CommunicationObject.State ==
CommunicationState
.Opened || this.CommunicationObject.State ==
CommunicationState
.Opening)
System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
410
return this.CommunicationObject.State !=
CommunicationState
.Created;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (18)
1370
if (this.State !=
CommunicationState
.Closed)
1448
if (this.State !=
CommunicationState
.Closed)
1650
if (this.State ==
CommunicationState
.Closed)
1701
if (this.channel.State !=
CommunicationState
.Closed)
1735
if (self.channel.State !=
CommunicationState
.Closed)
1777
if (channel.State !=
CommunicationState
.Closed)
1804
if (self.channel.State !=
CommunicationState
.Closed)
2094
if (this.sessionChannel.State !=
CommunicationState
.Closed)
2128
if (thisResult.sessionChannel.State !=
CommunicationState
.Closed)
2171
if (this.sessionChannel.State !=
CommunicationState
.Closed)
2201
if (thisResult.sessionChannel.State !=
CommunicationState
.Closed)
2349
if (this.sessionChannel.State ==
CommunicationState
.Closed)
2396
if (self.sessionChannel.State ==
CommunicationState
.Closed)
3300
if (this.State ==
CommunicationState
.Closed || this.State ==
CommunicationState
.Faulted || this.IsInputClosed)
3505
if (this.channel.State !=
CommunicationState
.Closed)
3540
if (this.channel.State !=
CommunicationState
.Closed)
3585
if (this.channel.State !=
CommunicationState
.Closed)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (37)
802
if (this.communicationObject.State ==
CommunicationState
.Closed
803
|| this.communicationObject.State ==
CommunicationState
.Faulted)
820
if (this.communicationObject.State !=
CommunicationState
.Closed
821
&& this.communicationObject.State !=
CommunicationState
.Closing
822
&& this.communicationObject.State !=
CommunicationState
.Faulted)
1028
if (this.settings.communicationObject.State !=
CommunicationState
.Opened)
1232
if (this.State ==
CommunicationState
.Closed || this.State ==
CommunicationState
.Closing)
1308
if (this.State !=
CommunicationState
.Closed)
1525
if (isInputClosed || this.State ==
CommunicationState
.Faulted)
2330
if (this.channel.State !=
CommunicationState
.Closed)
2373
if (self.channel.State !=
CommunicationState
.Closed)
2435
if (channel.State !=
CommunicationState
.Closed)
2459
if (self.channel.State !=
CommunicationState
.Closed)
2690
if (channel.isInputClosed || channel.State ==
CommunicationState
.Faulted)
2955
if (this.State !=
CommunicationState
.Closed)
3041
if (this.State !=
CommunicationState
.Closed)
3060
if (this.State ==
CommunicationState
.Created)
3184
if (this.sessionChannel.State !=
CommunicationState
.Closed)
3228
if (thisResult.sessionChannel.State !=
CommunicationState
.Closed)
3277
if (this.sessionChannel.State !=
CommunicationState
.Closed)
3319
if (thisResult.sessionChannel.State !=
CommunicationState
.Closed)
3378
if (this.sessionChannel.State !=
CommunicationState
.Closed)
3417
if (thisResult.sessionChannel.State !=
CommunicationState
.Closed)
3742
if (this.State !=
CommunicationState
.Closed) throw;
3756
if (this.State ==
CommunicationState
.Closed)
3829
if (this.State !=
CommunicationState
.Closed)
3840
if (this.State ==
CommunicationState
.Created)
3993
if (this.State !=
CommunicationState
.Closed) throw;
4168
if (sessionChannel.State !=
CommunicationState
.Closed) throw;
4196
if (thisResult.sessionChannel.State !=
CommunicationState
.Closed)
4241
if (this.sessionChannel.State !=
CommunicationState
.Closed)
4282
if (thisResult.sessionChannel.State !=
CommunicationState
.Closed)
4349
if (this.sessionChannel.State !=
CommunicationState
.Closed)
4386
if (thisResult.sessionChannel.State !=
CommunicationState
.Closed)
4442
if (this.sessionChannel.State !=
CommunicationState
.Closed) throw;
4484
if (thisResult.sessionChannel.State !=
CommunicationState
.Closed)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (6)
236
public
CommunicationState
State
714
if (this.channelFactory != null && this.channelFactory.State ==
CommunicationState
.Opened)
727
if (this.channelFactory != null && this.channelFactory.State ==
CommunicationState
.Opened)
751
return (this.channelFactory.State !=
CommunicationState
.Opened);
756
if (this.channelFactory.State ==
CommunicationState
.Created)
764
if (this.channelFactory.State ==
CommunicationState
.Created)
System\ServiceModel\Security\WrappedSessionSecurityTokenAuthenticator.cs (1)
241
public
CommunicationState
State
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (2)
169
public
CommunicationState
State
346
public
CommunicationState
State
System\ServiceModel\Security\WSTrustChannel.cs (1)
951
public System.ServiceModel.
CommunicationState
State
System\ServiceModel\ServiceConfiguration.cs (2)
156
if ((this.host.State !=
CommunicationState
.Created) && (this.host.State !=
CommunicationState
.Opening))
System\ServiceModel\ServiceHost.cs (19)
92
else if (this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening)
111
else if (this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening)
192
else if (this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening)
359
if (this.State !=
CommunicationState
.Created && this.State !=
CommunicationState
.Opening)
393
if (this.State !=
CommunicationState
.Created && this.State !=
CommunicationState
.Opening)
574
Fx.Assert(this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening, "");
588
Fx.Assert(this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening, "");
601
Fx.Assert(this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening, "");
615
Fx.Assert(this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening, "");
1120
if (channelDispatcher.State ==
CommunicationState
.Opened)
System.ServiceModel.Activation (1)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1047
if (service.State !=
CommunicationState
.Opened)
System.ServiceModel.Activities (17)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (2)
215
if (thisPtr.Host.State ==
CommunicationState
.Opening || thisPtr.Host.State ==
CommunicationState
.Opened)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (1)
477
Fx.AssertAndThrow(State !=
CommunicationState
.Opened,
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (2)
2699
if (this.workflowInstance.persistenceContext.State !=
CommunicationState
.Opened)
3616
if (this.instance.persistenceContext != null && this.instance.persistenceContext.State ==
CommunicationState
.Created)
System\ServiceModel\Activities\InternalSendMessage.cs (10)
1772
if (this.channel.State ==
CommunicationState
.Created)
2831
return this.channelFactory.State ==
CommunicationState
.Created;
2879
if (result != null && (result.State !=
CommunicationState
.Opened || (serviceChannel != null && serviceChannel.Binder.Channel.State !=
CommunicationState
.Opened)))
2915
bool shouldDispose = channel.State !=
CommunicationState
.Opened;
2930
if (this.channelFactory.State !=
CommunicationState
.Closed &&
2931
this.channelFactory.State !=
CommunicationState
.Closing)
2953
if (this.channelFactory.State !=
CommunicationState
.Closed &&
2954
this.channelFactory.State !=
CommunicationState
.Closing)
2967
if (communicationObject.State ==
CommunicationState
.Opened)
System\ServiceModel\Activities\WorkflowServiceHost.cs (2)
222
return this.State ==
CommunicationState
.Created || this.State ==
CommunicationState
.Opening;
System.ServiceModel.Channels (10)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (4)
37
if (this.State ==
CommunicationState
.Opened)
72
if (this.State ==
CommunicationState
.Opened)
198
if (this.State !=
CommunicationState
.Opened)
222
if (this.State !=
CommunicationState
.Opened)
System\ServiceModel\Channels\UdpChannelBase.cs (2)
220
if (this.State ==
CommunicationState
.Opened)
224
if (this.State ==
CommunicationState
.Opened)
System\ServiceModel\Channels\UdpChannelFactory.cs (1)
337
if (this.State ==
CommunicationState
.Created)
System\ServiceModel\Channels\UdpChannelListener.cs (3)
194
Fx.Assert(this.State !=
CommunicationState
.Opened, "buffer manager should only be null when closing down and the channel instance has taken control of the receive manager.");
466
if (this.State !=
CommunicationState
.Opened)
468
Fx.Assert(this.State >
CommunicationState
.Opened, "DispatchMessage called when object is not fully opened. This would indicate that the receive loop started before transitioning to CommunicationState.Opened, which should not happen.");
System.ServiceModel.Discovery (5)
System\ServiceModel\Discovery\AnnouncementClient.cs (2)
221
if (((ICommunicationObject)this).State !=
CommunicationState
.Created)
261
CommunicationState
ICommunicationObject.State
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
222
CommunicationState
ICommunicationObject.State
System\ServiceModel\Discovery\OnlineAnnouncementChannelDispatcher.cs (2)
126
if (this.State !=
CommunicationState
.Opening)
146
if (this.State !=
CommunicationState
.Opening)
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\IRoutingClient.cs (1)
17
CommunicationState
State { get; }
System.WorkflowServices (10)
System\ServiceModel\Dispatcher\DurableInstanceProvider.cs (2)
46
if (instanceContext.State ==
CommunicationState
.Faulted || instanceContext.Aborted)
51
else if (instanceContext.State ==
CommunicationState
.Closed)
System\ServiceModel\Dispatcher\WorkflowInstanceProvider.cs (1)
23
if (instanceContext.State ==
CommunicationState
.Faulted || instanceContext.Aborted)
System\Workflow\Runtime\Hosting\ChannelManager.cs (6)
100
bool connectionIsStillGood = (channel.State ==
CommunicationState
.Opened);
161
while (channel != null && channel.State !=
CommunicationState
.Opened)
234
bool invalidFactory = (channelFactory.ChannelFactory.State !=
CommunicationState
.Opened);
262
if (factory == null || factory.ChannelFactory.State !=
CommunicationState
.Opened)
376
public
CommunicationState
State
399
if (this.channel.State ==
CommunicationState
.Opened)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
73
if (communicationObject.State ==
CommunicationState
.Opened)