120 references to Closed
System.ServiceModel (117)
System\ServiceModel\Channels\ChannelDemuxer.cs (2)
516
if (listener.State == CommunicationState.
Closed
|| listener.State == CommunicationState.Closing)
1993
if (listener.State == CommunicationState.
Closed
|| listener.State == CommunicationState.Closing)
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
87
case CommunicationState.
Closed
:
124
case CommunicationState.
Closed
:
System\ServiceModel\Channels\ChannelReliableSession.cs (2)
257
this.channel.State == CommunicationState.
Closed
)
289
this.channel.State == CommunicationState.
Closed
)
System\ServiceModel\Channels\CommunicationObject.cs (18)
67
get { return this.state == CommunicationState.
Closed
; }
103
if (this.aborted || this.state == CommunicationState.
Closed
)
166
if (originalState != CommunicationState.
Closed
)
212
case CommunicationState.
Closed
:
285
if (originalState != CommunicationState.
Closed
)
338
case CommunicationState.
Closed
:
445
case CommunicationState.
Closed
:
473
if (this.state == CommunicationState.
Closed
|| this.state == CommunicationState.Closing)
521
Fx.Assert(currentState == CommunicationState.Closing || currentState == CommunicationState.
Closed
|| currentState == CommunicationState.Faulted,
548
case CommunicationState.
Closed
:
623
this.state = CommunicationState.
Closed
;
786
case CommunicationState.
Closed
:
835
case CommunicationState.
Closed
:
869
case CommunicationState.
Closed
:
898
case CommunicationState.
Closed
:
927
case CommunicationState.
Closed
:
956
case CommunicationState.
Closed
:
991
case CommunicationState.
Closed
:
System\ServiceModel\Channels\MsmqBindingMonitor.cs (1)
97
this.currentState = CommunicationState.
Closed
;
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (2)
113
if (CommunicationState.
Closed
== this.State || CommunicationState.Closing == this.State)
139
if (CommunicationState.
Closed
== this.State || CommunicationState.Closing == this.State)
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
286
if (this.channel.State != CommunicationState.
Closed
)
System\ServiceModel\Channels\OneWayChannelListener.cs (1)
1056
if (this.State == CommunicationState.Closing || this.State == CommunicationState.
Closed
)
System\ServiceModel\Channels\PeerChannelListener.cs (1)
148
if (this.State < CommunicationState.
Closed
&& this.peerNode != null)
System\ServiceModel\Channels\PeerDuplexChannel.cs (1)
102
if (this.State < CommunicationState.
Closed
)
System\ServiceModel\Channels\PeerInputChannel.cs (1)
58
if (this.State < CommunicationState.
Closed
)
System\ServiceModel\Channels\PeerOutputChannel.cs (1)
60
if (this.State < CommunicationState.
Closed
)
System\ServiceModel\Channels\ReliableChannelBinder.cs (7)
172
if (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
)
975
this.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)
580
if (this.Aborted || this.State == CommunicationState.Faulted || this.State == CommunicationState.
Closed
)
649
if (this.Aborted || this.State == CommunicationState.Faulted || this.State == CommunicationState.
Closed
)
1047
if (this.Aborted || this.State == CommunicationState.Faulted || this.State == CommunicationState.
Closed
)
System\ServiceModel\Channels\RequestContextBase.cs (4)
103
if (state == CommunicationState.
Closed
)
123
state = CommunicationState.
Closed
;
165
state = CommunicationState.
Closed
;
200
if (state == CommunicationState.
Closed
|| state == CommunicationState.Closing)
System\ServiceModel\Channels\SecurityChannelListener.cs (8)
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 (3)
267
this.State != CommunicationState.
Closed
)
547
this.State != CommunicationState.
Closed
)
577
this.State == CommunicationState.
Closed
)
System\ServiceModel\Channels\ServiceChannel.cs (2)
1541
if (this.InstanceContext != null && this.InstanceContext.State != CommunicationState.
Closed
&& this.InstanceContext.State != CommunicationState.Faulted)
2685
if (!this.isTimerCancelled && binder.Channel.State != CommunicationState.Faulted && binder.Channel.State != CommunicationState.
Closed
)
System\ServiceModel\Channels\SharedConnectionListener.cs (5)
94
this.state == CommunicationState.
Closed
)
139
if (this.state == CommunicationState.
Closed
)
147
this.state = CommunicationState.
Closed
;
165
if (this.state == CommunicationState.
Closed
)
217
this.state == CommunicationState.
Closed
)
System\ServiceModel\Dispatcher\ChannelDispatcherCollection.cs (2)
43
if (this.service.State == CommunicationState.
Closed
)
64
if (this.service.State == CommunicationState.
Closed
)
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
434
if (channel.State != CommunicationState.Closing && channel.State != CommunicationState.
Closed
)
System\ServiceModel\InstanceContext.cs (2)
198
if (this.State == CommunicationState.
Closed
)
347
|| state == CommunicationState.
Closed
System\ServiceModel\Security\SecuritySessionClientSettings.cs (17)
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 (28)
802
if (this.communicationObject.State == CommunicationState.
Closed
820
if (this.communicationObject.State != CommunicationState.
Closed
1232
if (this.State == CommunicationState.
Closed
|| this.State == CommunicationState.Closing)
1308
if (this.State != CommunicationState.
Closed
)
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
)
2955
if (this.State != CommunicationState.
Closed
)
3041
if (this.State != CommunicationState.
Closed
)
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
)
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.Activities (2)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
2930
if (this.channelFactory.State != CommunicationState.
Closed
&&
2953
if (this.channelFactory.State != CommunicationState.
Closed
&&
System.WorkflowServices (1)
System\ServiceModel\Dispatcher\DurableInstanceProvider.cs (1)
51
else if (instanceContext.State == CommunicationState.
Closed
)